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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.5m Windows x86-64

grpcio-1.0.1-cp35-cp35m-win32.whl (931.8 kB view details)

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.7+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.7+ intel

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

grpcio-1.0.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2506b7d1df1c7fd620c2cbc46b0d8c1639519303f447ddee5f5f4f50d9bfa4a8
MD5 9ac9f6c3a450839eb0cea770388251d1
BLAKE2b-256 514018ee2c93e971b50808c4c45240d4ad251c7df619ecf11a2c7cc973e00ea3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 43bcf1293835cb45007f6e10d77ad2ac4deeed7513735dd9762a2d15ab04fbc1
MD5 24adf8b096a9d26f4a51c6fb7744c032
BLAKE2b-256 0493114b04c4cbeabf889ad2d77a7dfb6ad54434c635b9278b31ab2b4262f641

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 7f2aef9a90e2bd797b91d3a9eb4f14c86b451f4b21196c23cbe11ca0cacf26c8
MD5 0759065dd7cd6dd6add8838922e1c667
BLAKE2b-256 88d1d0e5b317ceb2a6c6cbc5ff5db28d6230fe0e1bc6ad7c75c0ae9e582bce34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c6a9ce9149f2592e4184c1a925a5f8e83e88851f5eabe55961a504518e18303a
MD5 487f276ec135cc5124751d94a673befb
BLAKE2b-256 919a4144a40d27320c0c984f831e2963b74082466b885aa14a6fc2e2c0460452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3437606fcdebcce0d0b9a21f2d7a5c3ccde1c4bbdc0abbf9d0d0fead0a0a1943
MD5 34fe22a7d3af19b7380dec344ecf3257
BLAKE2b-256 39ff507a6399792bc9b846e238d8dda7c873649346a57f81bf740a0857ba9003

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 f2074347730285026499c0fde04ad4d1159469175d074a71e93ceeb727ec7baf
MD5 4fa4d9b603b35da3741ca0378b0e3add
BLAKE2b-256 e540ae7914dace9c6efc49b401538f8be92931644b971097f52bd31a3de3c0ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 6c3bf6a1c44b8b60d800989832ee45ff8bdd257b1d787c9897f3f29287f70eae
MD5 2f094987ddb3148cc36da3d485bfe4b9
BLAKE2b-256 1e923ca844ab4edce1db9fb3909eeb893d3a2042184333c45b705a31354147c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 6edbf679ae8ca632a7d3cf8041c20bee1d3c60cb14db0492e85c170a83944bb8
MD5 8b6e0ec2355b7dbe15918671398c0aa7
BLAKE2b-256 38a1799406180c085f5e878fd62c74ee91d975635e2b7cb839078e9b627b438c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 529bdfbbbb4116ed3d273004d6f7a1ad68ebc520f93e5859d0acbd9a27d21248
MD5 f5fe69d0024aaa72814d05c067d334ac
BLAKE2b-256 d4fbb1b9fac72ab2d4371439ce29d83e002cb4681362bed2a45f43a63036209b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5de2572d17371e5929149a71dfbc98215ab1207177bc4cec6d2799a4f07390a6
MD5 27477ef16cf3c0cbf5cc6ce8ae9a4fe1
BLAKE2b-256 c28ae34f71c10b73ad4eac4e36ecdf925b4d561147ab9a621c38a4ec3546ba09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 5adb1ea1483d083ac5439cbcb9c7d25dbed5bbe1e48a9a580f2070fd3342a3b5
MD5 fddcdd9180edd2668d6a674ca0c819fa
BLAKE2b-256 fd33b0e05356ab55294ab567772fe5f718ade75326ef3741579d94b5ea148705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6f8ab1344aa835688e51923116da99c800c4f2d96fb9074812d6c93a68611c04
MD5 ae0efb18c3c0ee557b92c9e40167bcaa
BLAKE2b-256 7d549d99b2c010fa428d7a0c8ca2d3ca368d78eb6cb9d73a676dda5ebd30b0d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 483e87842d0b77fcd419c29d8d8e31316d19e9c8d475d68faf85ba4011e5e840
MD5 7e274d6587a1b546a50d512abca759ab
BLAKE2b-256 60a06e1582ff5056eba56f9fa8b0690082d03ea4497226a8c05151d704835a08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 99692f6a170ad0c88a99280e3a5b67437c1e82798a141399d7ead99ca6100822
MD5 79bed19253790d7d4b194cd1a67a3827
BLAKE2b-256 ad3dfde2f51659495677706c78357447e5356dbca0780e1c62e773c7eb7fd705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 0e4ac19745c06e8ae006c35342cd3f782b2ede5eb7efb0021ddf35cdfffb50b3
MD5 2e8a75e61dd5697ed25fb049244d1f8d
BLAKE2b-256 502ddc3c965426e82a0952be8c6d7473b1a771597859c5aa1e5ed9e27c82fffd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 48221df17387fa7cacf0207f86ec04acac1a1acdefc2a82a1a8e08e66fc8d908
MD5 0b940be0d890b0bb0fe47925a37afe8e
BLAKE2b-256 5f562165eeb5388d09c86c0c81df0680af9502e741943bec475485d2fc113f52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b0f717550f82ab8ee346ecdbe67b29b5e55e3d281a8346c3d606e24f901ff3c1
MD5 33e3f11835a72a8e6ebcd3333ed05ad5
BLAKE2b-256 1cd329aa9c02c127fb4a7e9b8595ea9e81eaf2a7e10013d64483d15708121583

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.1-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 0b501cd0bf8c12d74fadfba816c5776f79d7005b75d1f6171012d5d7eb4f6f28
MD5 ad58a225bc3ae6979dd6c3cf3975fdc5
BLAKE2b-256 f08a1e8a3e74e490c422ba33228751e74ca819f760fed8cb7f7f7b230bf1dbbc

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