Skip to main content

No project description provided

Project description

Package for gRPC Python.

Installation

gRPC Python is available for Linux, Mac OS X, and Windows running Python 2.7.

From PyPI

If you are installing locally…

$ pip install grpcio

Else system wide (on Ubuntu)…

$ sudo pip install grpcio

If you’re on Windows make sure that you installed the pip.exe component when you installed Python (if not go back and install it!) then invoke:

$ pip.exe install grpcio

Windows users may need to invoke pip.exe from a command line ran as administrator.

n.b. On Windows and on Mac OS X one must have a recent release of pip to retrieve the proper wheel from PyPI. Be sure to upgrade to the latest version!

From Source

Building from source requires that you have the Python headers (usually a package named python-dev).

$ export REPO_ROOT=grpc  # REPO_ROOT can be any directory of your choice
$ git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc $REPO_ROOT
$ cd $REPO_ROOT
$ git submodule update --init

# For the next two commands do `sudo pip install` if you get permission-denied errors
$ pip install -rrequirements.txt
$ GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install .

You cannot currently install Python from source on Windows. Things might work out for you in MSYS2 (follow the Linux instructions), but it isn’t officially supported at the moment.

Troubleshooting

Help, I …

  • … see a pkg_resources.VersionConflict when I try to install grpc

    This is likely because pip doesn’t own the offending dependency, which in turn is likely because your operating system’s package manager owns it. You’ll need to force the installation of the dependency:

    pip install --ignore-installed $OFFENDING_DEPENDENCY

    For example, if you get an error like the following:

    Traceback (most recent call last):
    File "<string>", line 17, in <module>
     ...
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 509, in find
      raise VersionConflict(dist, req)
    pkg_resources.VersionConflict: (six 1.8.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.10'))

    You can fix it by doing:

    sudo pip install --ignore-installed six
  • … see the following error on some platforms

    /tmp/pip-build-U8pSsr/cython/Cython/Plex/Scanners.c:4:20: fatal error: Python.h: No such file or directory
    #include "Python.h"
                    ^
    compilation terminated.

    You can fix it by installing python-dev package. i.e

    sudo apt-get install python-dev

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grpcio-1.0.0.tar.gz (5.3 MB view details)

Uploaded Source

Built Distributions

grpcio-1.0.0-cp35-cp35m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.5m Windows x86-64

grpcio-1.0.0-cp35-cp35m-win32.whl (931.7 kB view details)

Uploaded CPython 3.5m Windows x86

grpcio-1.0.0-cp35-cp35m-manylinux1_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.5m

grpcio-1.0.0-cp35-cp35m-manylinux1_i686.whl (4.4 MB view details)

Uploaded CPython 3.5m

grpcio-1.0.0-cp35-cp35m-macosx_10_7_intel.whl (2.4 MB view details)

Uploaded CPython 3.5m macOS 10.7+ intel

grpcio-1.0.0-cp34-cp34m-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.4m Windows x86-64

grpcio-1.0.0-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4m Windows x86

grpcio-1.0.0-cp34-cp34m-manylinux1_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.4m

grpcio-1.0.0-cp34-cp34m-manylinux1_i686.whl (4.4 MB view details)

Uploaded CPython 3.4m

grpcio-1.0.0-cp34-cp34m-macosx_10_7_intel.whl (2.4 MB view details)

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl (4.7 MB view details)

Uploaded CPython 2.7mu

grpcio-1.0.0-cp27-cp27mu-manylinux1_i686.whl (4.3 MB view details)

Uploaded CPython 2.7mu

grpcio-1.0.0-cp27-cp27m-win_amd64.whl (1.0 MB view details)

Uploaded CPython 2.7m Windows x86-64

grpcio-1.0.0-cp27-cp27m-win32.whl (1.1 MB view details)

Uploaded CPython 2.7m Windows x86

grpcio-1.0.0-cp27-cp27m-manylinux1_x86_64.whl (4.7 MB view details)

Uploaded CPython 2.7m

grpcio-1.0.0-cp27-cp27m-manylinux1_i686.whl (4.3 MB view details)

Uploaded CPython 2.7m

grpcio-1.0.0-cp27-cp27m-macosx_10_10_intel.whl (2.1 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

File details

Details for the file grpcio-1.0.0.tar.gz.

File metadata

  • Download URL: grpcio-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grpcio-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d51ab6598a13fcad7286a0bb4453297bcddb64ce37ab629b40536d1b7f59381c
MD5 a8a8df73247837e74fce0c9dc2c1d461
BLAKE2b-256 baf72138b9148b2d68431ebb05d4871e2fc60deacb4ee282384171083b522823

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 767ff8dc7749ae9ee8f37b051abf8a9d353c79f5ca792f3551b79ea107b8a89e
MD5 0badcc3a69c01b60d7a889a815ab9b57
BLAKE2b-256 d8f630b288225b3fce6d7e2265e4ae0927a773877e6fb549e1c7f511b7179fc7

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9e9a315fc1632907947cd828e81f62c46fdd40362ca393fc1ab8b095a0c1a6d3
MD5 80f0e94afee709eea064e29d84ebdbf3
BLAKE2b-256 b0ffccda1d878f6746f95a374a19ab0da43e38b724a24f6476d641cb05df7f69

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d36579a226fb12db0bfb30ca674191fd89fd9b17b25d8fe4f49442efd7b8cf5b
MD5 f4dd23a4c14f0dabe8bb5e23a7fb1a5f
BLAKE2b-256 85516b2c1421de3bbaba18331185e3d85430f8dbbd05d5b932cf344b2ce5cb78

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7aa001eb5c840909ab3f34ed13ea32290c2af16fe592001250c13ed94c06822c
MD5 3b9e85e5156e5baeadba9f7898ca7adb
BLAKE2b-256 9548ebe806edfe285b6fe963b154f47690db8bfe4fe1f1c0243ad2fe41d07ae4

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp35-cp35m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 a5485f1075ead5663ca3467ee875c726ee9305f64323adc4a6ca127da415959b
MD5 a306015f54fb7ac911779daf7d143b38
BLAKE2b-256 b4f0bd1e97d1782e5441125dca20a4e1816f927b067ba2af23fc34229de10cf9

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 01f4428104f4c621fda8997d36f7019c2dd3b39f0620ac6c17378a54ccea116b
MD5 c0699de2aa4fe58d1b4887c2f2a5b15e
BLAKE2b-256 0fbe6ae32916370a65a8fb59b3bba86b577e6d09e6fd6af3b5bf79bed6627e62

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 61298335d862fb107a557072c107f12821509f84d02734548b56550c8db8c7f0
MD5 e44c3297a6b4e6e9bd0eafdca2934e4c
BLAKE2b-256 6ac23fc6a176f36e59ef631809eeb612c3b94c6ca4202d32ad7955e0004f3880

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e0770ba190b0ba6e94e50d8ab19768f8dfbdbfa955840136866accd04f100f3d
MD5 d1f9af6b3c481ca7ad90afd89d449345
BLAKE2b-256 c333f28fbfa9958fef04b2a28d481761d7e9ca9f5b03e18202f2ed381259c634

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 81b941f71f7ec3f85427762c380139ac7e60997bfc4708ff2069ed5bee183c17
MD5 a547e47e4d8161ac362829d68bd5a1c3
BLAKE2b-256 dc33289bd6ea36b0cd4793f31013eade28905c44cf4c39bc6c82ea945ce0d473

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp34-cp34m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 157bec4cbdb0d1feddcc54b27678ce2bac23b085a3502272036b369e4fab9eb7
MD5 d7e31cc84ba212593c883313fb967370
BLAKE2b-256 23ecad803cb6c08ad6260b3a0653cfc840c68e3ffb1dae77d6355eda68abb70c

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 568a1b086d67e5388977926c30c227aa20d7186869addb2fab1d46ef0a10f354
MD5 c1f93a1e937984b7d2b1d13687918222
BLAKE2b-256 d203ae172f867252ca5ee4c4759616eea5565290e50ddb73e8b0792a01edaa7e

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 249d3664b136ae704e80d121aa2d19e6a960f0f2af7f76240fe3f9f817579a1c
MD5 614147327aec11244013567caac903ab
BLAKE2b-256 dfd387c0d35ac073a67fea3c01f4d3085cb0997b292da083c2586d9fa110a8ad

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 b362b9b75a2e03da1078743cb593d42a2390baf2677051fee4e5f5cf40721073
MD5 bfea5564f9fc798ef3d9b353a931dd06
BLAKE2b-256 abcebf71c549b286a043b27fb897d2377fbec6fcfded7d2d4da54ad310916fe8

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 67aa8a2e2cca2bf0084bddecdb69bef5ad33644aad4521f418f85350a4e3de7d
MD5 78f2fc8f035848f74387660435832268
BLAKE2b-256 41e1bc9ae22f8b09b4d1c7ec847fd2d80f36b1a56ff629c19ffa2dce7c7e1d8d

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 69c243eb8825013db5f889c5703faa4777a3b146a6947e455066e2967d19fffc
MD5 4d22481111337a32334a57be75d25f13
BLAKE2b-256 e4af4f495c7b1a40588c52d40cdfe75e9423c2d021e15b1e7bb308042972c1fd

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8451828bc14e83e4d9c9e20f1a04594ccbda2f631768f5347448b6e403c0fdc3
MD5 65b89ed75f7c3346294e060c7790ae0e
BLAKE2b-256 87a7dbcf587e6f917d3a73a04faf6707679547de59ec770fdc2188a5ef9ff88d

See more details on using hashes here.

File details

Details for the file grpcio-1.0.0-cp27-cp27m-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.0.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 6a9cb0bf3ff12140c2a3fef2be051d63829d29f520a1dd30e71b3f03aba58499
MD5 b262c226fe73a3f6025a696f992cbc17
BLAKE2b-256 2995f1d929b6deed47fd5629f78de0f879fabf5ecad73be62dd3cabbf97b73e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page