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.0rc2.tar.gz (5.3 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.7+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.7+ intel

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

grpcio-1.0.0rc2-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.0rc2.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 655effd824011a21ec9227288538a2e3d61dfe9f54c9dbbc6549487f9b9d6e4e
MD5 db0c51569ad3767316ffd8ccfe28f182
BLAKE2b-256 daba92f2347bbd2ae7c862492fab6157649c4dceea9848648bb57e45b21ccc4f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 5e26ae6c509fb6a0907478a98c282ed4f0bf060aa6c0d201ad2bed3485868b17
MD5 2d4f12cbe9d08598b984f3d59b7d89de
BLAKE2b-256 8947e05c75c5c14006b96a64102ad086c1e72f3899c602512d4742da96716ffd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 d2ed857886c9eec86c5f099ffb648c6e743b56e0b8e91f536e5ee3885deb991b
MD5 d77cbf770cedbc6730c43439678e235b
BLAKE2b-256 c27c49808d38eb456ad24b4223ddbefe8619697de6ded75b21a58283ae01a95a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d0b06368403ada3227a520575c7c61807ad1e2cb5ba0b3a5ad43997016906d17
MD5 e0243f571153f8154becd066ca1fe25d
BLAKE2b-256 af34c32b3e607713936050e8799393414a46e7623fb0c2aba4765be905aa11ed

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b80e6f5e577785cd12c04f7cbbcbccf74f665ac3a4e5bb933e6c62c0c4c2797d
MD5 d0b5fb6aafa64bd0173903233433b50b
BLAKE2b-256 99a4ee173411882eaa77ceff87af08facb446e9347ead2a7e32690fa02091d4c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 de034bd79cac2ac4c9e293423df4b2f0f8373917cff937a3978ab72407e9198d
MD5 4d205664dca5c3ebe805eecc77318950
BLAKE2b-256 54730ebff02692f8683321b87a725295bec05b42c83fdc160a1afc20a0162870

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 79153c9935aeefb924967c4fc3469914e6e8f47fdffc0d37e26436acd9d89767
MD5 c38c6d9264a178a5695e11aa90ffc072
BLAKE2b-256 bce397f071b5d055db9855b83ec685f8847ef9c81b4dffdf9d3aefb6989c325d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 e751df36467c8342fc7782b8d14f7a926177d010fc717da13f27d2ec09bb4e45
MD5 2c1b19d2fda221f0cb2e53159dc5016b
BLAKE2b-256 25be54626c2a610606ecbae2048ec45e895fa6d1013bb31e4bc6a2ed0a9feee4

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 48c2be6827c8258a81f40b9c72f99e58677fbc94f093558c5c1d119c209c5fe8
MD5 ccb2968d4f283086a367c6c5b72323ef
BLAKE2b-256 2ee92b5cf5a46179db2efe463cca54f5ec4fc4b2a3cd2c4a568a9b6d3c4d08d7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 732b259a8f8142f2358ee10af7709ddbce35561ac683e5fbe6203b1ebf714db6
MD5 27e8abdd262b330027706daf0b775992
BLAKE2b-256 183ef6e36e2e89999f7e41f80b4b259ab026f67e55dffdd31990073fac25346f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 bac7da05081d0bb94db86a7d883773815cee3bcffea71533f138dce3b07ef9b3
MD5 6f0641cb258f1b4d5c202ddf9ffa212f
BLAKE2b-256 1abcb1bfa5039c937e4cf1028af9ff4aaeeb8d15745067ba59da98fa4616e2ef

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5d2068857712339a78d646a8c8f43ce4a66d5a7600e5b9adecf4ba5dfc0c4245
MD5 0ec95eabd0f076ab20127b15379b9263
BLAKE2b-256 413f54c7fdc4656e657a0df4251b4f4c604df540d630dde2eff469bac03fc08a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f4eebd7d0df8dc8998a1739e2ad5471a560a48459cb73f1bb43593be925d440c
MD5 ba81caa7f495bb26d4c5c4b06ba946e3
BLAKE2b-256 5b3c173d9fa2b106c60ccf837a3b1da77baf2997e73f0e9b22dc6624bf450431

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 0bc98797d01008d88898cacf355ae482d5e2ffd8381c0b6c9d43842ff05da203
MD5 22f35bf8f6c7d0b368b7263379a2688d
BLAKE2b-256 feef4643271e1754537653b908d206c49bc765bf9f6c42bd21394117bfb80a67

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 9b6fa9e3e0637960de515ef726e83e9faacdadfb812323fe4292feec6b8628c5
MD5 6f9e36bae53fbc4da19129d20d4020c4
BLAKE2b-256 90369da7cdee6cf915b63d48e381517b77950e935c874ccfb5f883148b5b7c84

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ef4ab290b43c75d1fb5dc0da7cd053212d91302bd4a5455706a901dd45577625
MD5 6b8e8a580830babc5c02e1d016c481f7
BLAKE2b-256 5aca57b60eb1ced41bda6c784f7cfab57f08139b04cd1101b6e139c43cba0e07

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 842db44a83e0f7975318468acc9318c254ea0a8986c1526229904c65b0607ff9
MD5 03b9b8fea706cf8edd40e1843a097dd1
BLAKE2b-256 15f948fa63f35200751a61c1d5840b7d0528f3498838d1bad9648d095fea8435

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.0rc2-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 b3d62893e96727ac5dbffe40ed290aa930b8e2f3147d32662af0abfff2784572
MD5 819f7c12e29b1386f011b26884aaa214
BLAKE2b-256 e5dc05ca8f5ca4a70ba75e8bad805bb6965b6a85644092a21c0bdd05013f10f8

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