Skip to main content

UNKNOWN

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.2.tar.gz (5.2 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.5m Windows x86-64

grpcio-1.0.2-cp35-cp35m-win32.whl (931.9 kB view details)

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.7+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.7+ intel

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

grpcio-1.0.2-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.2.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1ea4212d88eea9271aea542a573a7aa7d43cf99ef71c3b23da811bb231b585da
MD5 6f64d7385bab758384350595e77590a7
BLAKE2b-256 d271378525c18c36d2323aebe9c1a448a49f19ef14afa8e174be1e608850ba26

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 77b6756476ea3f857643ea3afe565644076ec8b0bb3cd99ac5c2f0da2bbe2d24
MD5 740deef83bcf03d7682cdff3f47db43b
BLAKE2b-256 a93f00535474a49d767a8b89d1f8e70035415c2bf5e77427b7c7ac096643698f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 21c85720d75052a33217a71c93bd013c279db785ba46436e9f00d7a6117d30f0
MD5 dd243bfe2f936b4c4b5ec6bdeecf1f65
BLAKE2b-256 ef3753bf93e9a54fbd9ffdd7eebbc4e707f22153e358723b85743fca479bf415

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3fcd537b0a7e2474e55d39cfedb75e00f450e5b404b177147ce6de68036ed9ea
MD5 ef9d3a10b24f54f1ebdad4c09c5eda18
BLAKE2b-256 6d25713d92cfe149c6eccf620562476254a4156430c6174b4256ec9d2132a3c1

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2d8fca01a95c6d720dfb565316784fda0ff35e23a8e3553b6b5771bf073ce6cc
MD5 463ae0c4c8ce2d6e61757d386cd66db6
BLAKE2b-256 9aabe10fa004439daadb1a2672699d846ee459ef64495a8d0decabffb0d90db3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 75abda785ea61d2db5ba0a0087cb3fb498cf5b1a6cf6bff7ca325485b7dab3a1
MD5 45a9636b0d4fd4fae566781ad0e5b3f7
BLAKE2b-256 b7c6547e8f822ccdbf0a30f881552716f586de7d3d86832bd085b8fb98e0313e

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 cd6b04020b04a2b76fa565b3c82175240d410ed58ae1fb394f5c935194a63cc2
MD5 7ec1f8cee2a2df245bf86b64f0a323c1
BLAKE2b-256 b5ac497c4924f2d94a7d09864ba680f4bf9b340099ae3c6ed296288c77280989

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 a548fe1c35ce32c323a3302d8a68d2d40405b9faf7c341c8eff218d68c3a5c56
MD5 1ed10ac9a7179d01e9e7bdb1a19eac64
BLAKE2b-256 df18143ae4730108dac7cede06814715a43b1c831976d5949f8f7f4d13b35e32

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6a924da5158bb9a608260587f9cb0f2c99ed1610e611e4e653812fc7e59c00d7
MD5 f5726b32a3b8ec72ee113e9b2dd1e81d
BLAKE2b-256 a2de80433341d2bf9bc769e36dbdfc1c43b077cf5086cb11f6f3272e055b3035

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2ce9e16b2dafb555f90ad4e84d47fbd3c79a866dc1e4cf5e3153b186ae70892d
MD5 4525d5d064174871aefb5383c739060e
BLAKE2b-256 7841b34942d84c8e0f761a4c79e76747e3792873307c0b6e596a90d70c88ae55

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 0fbea6bed76780cf4d9e617ae0b97081be9ac4544dbaa1144568df547fc58431
MD5 50186e6432972cbbfa5b3400c9f14de3
BLAKE2b-256 49e266c7f25c323499dafe18b7a07710f3cb420658d06249002b23da6553a77a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c7bc8c7311a424a68c04caf288387f371a637a3a9c2e2dcc539bb66bcf7ba9d7
MD5 f5f52c0bfd4437e72cf7fb94a28e4178
BLAKE2b-256 df443cd28e4f4de5cec8492a06585ad02716436337b652075d8461acea907af7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a26dc975849f6f30fe13a94ef427a0f1d96efdf52ffe32f9c6dfb7d99818ddab
MD5 efc047f8ef6f12e4ea02faec2ecdc4a1
BLAKE2b-256 b400acfb1d88b737f9a032404dbb01118efd9a96db2894c9bcac7665e17f2640

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 d9f6db2a8f9ac9eab459eb17805df0ca07ffcfc6826076ce5acebc2e03606596
MD5 8c255c8cb22c7bfab1aba8bd6fcf37db
BLAKE2b-256 c42967b1578ed1e41510f13fa7797ffa10c797c1470d84c47fd4c6f84dcfffc6

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 a5e99a9745bb49c05d904b8d376581da4834623615edf6c16cb6d91a8e75c98a
MD5 fe976cff8640e03fb40e96e28c278295
BLAKE2b-256 474ff677dcc032d1ef512bfb09df03e04d0aafbe33c328d61b97f7e61254ca6c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 42c905555fdb62868a440a476d0f8216aad1aa05b5dfc45e33479d1cb57b1697
MD5 e9d3e181ea35f184f33fbbe03023869f
BLAKE2b-256 0588c35fde5c701748181fea6b6499c50909945ce380ad24a8e28f07a033b2ca

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ede728f049b9e3af3f3c3fc3fdbf5ed9911113f9d2d7bce702847f8651981b97
MD5 5c7971af7d1953a898704f64bb723d23
BLAKE2b-256 485f7d50caba9d57e8b1f1a509c45e7843e64fcb399e5a9c1fe540f873b2a36a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.2-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 9ba42862744b245cb3ab1c993c2a459383ac5f00881683e87336c7951dca1963
MD5 a8ac179a664336c0747af7ecc0425cf5
BLAKE2b-256 ea482c0c2144cb17ee2d8bd191033c39c7dd8fc4014052c5a25feaa4c43e6ba0

See more details on using hashes here.

Provenance

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