HTTP/2-based RPC framework
Project description
gRPC Python
===========
Package for gRPC Python.
Installation
------------
gRPC Python is available for Linux, macOS, and Windows.
>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 :code:`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 :code:`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 :code:`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 :code:`python-dev`).
::
$ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice
$ git clone -b $(curl -L https://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** :code:`pkg_resources.VersionConflict` **when I try to install
grpc**
This is likely because :code:`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:
:code:`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
===========
Package for gRPC Python.
Installation
------------
gRPC Python is available for Linux, macOS, and Windows.
>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 :code:`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 :code:`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 :code:`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 :code:`python-dev`).
::
$ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice
$ git clone -b $(curl -L https://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** :code:`pkg_resources.VersionConflict` **when I try to install
grpc**
This is likely because :code:`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:
:code:`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.9.1.tar.gz
(10.0 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.9.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2582d74e236c32a325b51013b40479cc7a80c9a87d2d02ad85f98a2201aa098 |
|
MD5 | 03f4e490a63078d22172575f8abe8c21 |
|
BLAKE2b-256 | 183c5fb9cc1a386fa02b8c788cd2c73c6ef218cfec18f095c9c9d7787aa0e20e |
Close
Hashes for grpcio-1.9.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6099cbf59f487ebe0662ba938a3a7f786be97d081bbe3c0a1616466b6081a697 |
|
MD5 | c278940f9a483521823e88b8231cc897 |
|
BLAKE2b-256 | a15ca72fb63ca3860a4f4fef0e9a5b9705b9b1a15a9c8d06ba0cefe862bebab0 |
Close
Hashes for grpcio-1.9.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bdfb3eaff04e121b6d34b88a1a55d97c816961b7f94730a3e7aa2d880943e84 |
|
MD5 | e41ab14c931772417516489ba9e6d02a |
|
BLAKE2b-256 | fb022467e472ac04820ea323603092c9cc629b1943c9cfdd7843d2fd6740ffe7 |
Close
Hashes for grpcio-1.9.1-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ec617d4ce4cdccfbcb677b3dbf2eb45a0b521fa7fe3eec8412f342928aa60d7 |
|
MD5 | 84a185809f748307a0c6f2f8b38348f2 |
|
BLAKE2b-256 | e019129282b90d18fefff068dbea22fc07c0775ebdeb435e1260dccb9f20da03 |
Close
Hashes for grpcio-1.9.1-cp36-cp36m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7e7e464b66cf9da50f2f503a8be4b9fa99aae90e361c3b24f5e16b597f0f89 |
|
MD5 | 2642f056751174556a2ef89f4e926dc0 |
|
BLAKE2b-256 | 5cc854da74656308fae5e64d2a26f2e2bbbc7415dccb9b6d941cef3f4525842e |
Close
Hashes for grpcio-1.9.1-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cced53e455a26218e1817ae75f03057b2109c4ce7c8437dd9b6c73c3125a2bbb |
|
MD5 | a649d951da8a037933dd8c120134960d |
|
BLAKE2b-256 | 592ca84c75b8727fa1e8ce806c63dc179d4b292c1ddaa17f4e8ee4cc641d58d3 |
Close
Hashes for grpcio-1.9.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ab975ae3af94f66c61a968d71f5da1d8cdbd5c31220d0eb195bd14c3384f3a1 |
|
MD5 | fd93e2527f5e2fe82e4d659d9df6a7b4 |
|
BLAKE2b-256 | 713f7481df97a0049ee07d689cca5dd5c423cc4fc5665e15677e4adbc9d65d04 |
Close
Hashes for grpcio-1.9.1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4255661045038e1a424c7e2b1a93ed58222bf36363bd698f4ee687060767e5b |
|
MD5 | d35b172bf7aac9c4e6edb3f7577b3a2e |
|
BLAKE2b-256 | c723fdafc91dd5a661d805dc054a6ab856cb0aec21816dbaa0810144f9337f21 |
Close
Hashes for grpcio-1.9.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32950a2edcf919999e97885d14011efb276fdb6c712a9a0739abfa6c357fc0db |
|
MD5 | 81e024e4a8fca20df927883853044930 |
|
BLAKE2b-256 | 9ad8d40abe7283ef37257f2c19529d406fd430e98f6b8734a923b9d0e5172bae |
Close
Hashes for grpcio-1.9.1-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbbcd2a00c52e8af9924621cc2f7f735323ed7c8ca90cb5c40645e379b8d46ea |
|
MD5 | 56c8a8d1f9697053bf0aa156b7d37009 |
|
BLAKE2b-256 | 8195d3aadbd9077311f29090ecfc88699eb4903127cccdeb40e87eb820fde16b |
Close
Hashes for grpcio-1.9.1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7c8489b4a8c6be3022ea085387abe3d4973f21c7ef3641fbfc8f0e0c5e591f |
|
MD5 | 41aa092e0c6ee06205e9e44dd0bc7ec6 |
|
BLAKE2b-256 | 283d0cbdb5bdbdc0dbbaef274cc4cd195f0c85b0dc5683cc4d00941b0475906f |
Close
Hashes for grpcio-1.9.1-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef263edd67a74a854801cebf511f0fb6643b711fc35f288878e94e6609e821f |
|
MD5 | 3d4b881047ff90e423319f3c7dc9422d |
|
BLAKE2b-256 | f7c2118d9877458b898868dfe76c15b47527b39836bdb1d6e38a01c12ecba406 |
Close
Hashes for grpcio-1.9.1-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123cdff8c1306edcdf4a261b4fd7bd1efe07b679e6c1b6019789d7401b2dd1e6 |
|
MD5 | 5fa86ebb083b78083fca7b9c66f33fc1 |
|
BLAKE2b-256 | a7de2dca96b10d54039ebb6572b2c65f5f8e6396e4eac45270b16588ab635e6d |
Close
Hashes for grpcio-1.9.1-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84757cf49728455ed7cf1c36b0a9e06f658eb5297a206cd79174fc89d8e0ddf5 |
|
MD5 | 6f602c4739caa9f805f0db903ad0dcc0 |
|
BLAKE2b-256 | 0cc27a88671718984aa7b71c9952fdd42abc991867322af8a47dea9206797ecc |
Close
Hashes for grpcio-1.9.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec40532a9889b2b645550adabb89644e8865b29a2922db9a8e9856298595104 |
|
MD5 | 9ca44ae0f3ce927aa609b31c7e44aaa3 |
|
BLAKE2b-256 | 7160f30e54c0f856764dd8bb1c0b16c58c3fb4ae2fba8c76ec94545189ebb55a |
Close
Hashes for grpcio-1.9.1-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74bdc3c632e8104c6f269fed1e950a0dd4800e605754f2121f2a555e3e1af131 |
|
MD5 | f2085200938b6ef521981e005fd93ecc |
|
BLAKE2b-256 | 49ca1b8d88c72ebccd3cb06c19f5cc91f59c91a7fa224326a6305d3248059b61 |
Close
Hashes for grpcio-1.9.1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d1ff94fbbc0be64991d1da935cf42a09635c71cf41137b35fbee5d9658f637 |
|
MD5 | 0d62569aa9a8bb482485b67f10caaef9 |
|
BLAKE2b-256 | 780e93cffe0b4c64fda49461a83cc61e5986bb9d645d0ed2beae5b92204bdf2a |
Close
Hashes for grpcio-1.9.1-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a671dc5fb1eb6aaf76a8fb291140a7b17954fd7280cdfc561441906961d7ae3 |
|
MD5 | f2a4ef70b7b9d92ee68b0975c94e4947 |
|
BLAKE2b-256 | 975fc24cee49f745b2af612ddcb8d61c8f4716d80f918a03443d9b12ac97e087 |
Close
Hashes for grpcio-1.9.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e6d1e510c67afd59599d6c9797bb7a84a696d461b0ab5e42803b110e5052ed |
|
MD5 | e1b25d743d711ce2d4b5758121e6073d |
|
BLAKE2b-256 | fe364d57e271d9c81f92d99a289c81219bfdfd5bddb67cc10513a9c50021a26a |
Close
Hashes for grpcio-1.9.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d43ba86f79de04f24dfbd3e62e8817f34eb11789758687a69dc6d94182044db |
|
MD5 | d0ae4913045ccc10c63f5d9e29a2de18 |
|
BLAKE2b-256 | 27d67f937519c3b73c540ff67a9c18aaf607b9af75428c25a02c26a8f64ec6dd |
Close
Hashes for grpcio-1.9.1-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b73c488e3962c6cc4a6c96182874d3b9de86b5cd156ec2a85c5c393d349daf4 |
|
MD5 | 12ca7f9d084231ccacb3602dbf0f29f1 |
|
BLAKE2b-256 | ce57aa2ada6630785177ac706e09a417460310dc1855670a39e4e3be49d099df |
Close
Hashes for grpcio-1.9.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed24f893ff74f7761c448942798cd2fa7194052dae8f2c521f30bff2eedce67 |
|
MD5 | 26c2261d77ef94ead182ca1c3a148516 |
|
BLAKE2b-256 | a08f7534ae812eea7c4bc457288679c11ebb4c66dec733331379a094e9f7bb22 |
Close
Hashes for grpcio-1.9.1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3bc94db73e688cf8c25d80c15118f87b86c220cf284a2b29d6f1c4426e4550 |
|
MD5 | 5967985a2e5743546fa264080ff5dc27 |
|
BLAKE2b-256 | 7e9e34ab9dd5ff497a721a029b8791dfa1d8059e30dc454d3be32c7e4991932c |
Close
Hashes for grpcio-1.9.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28212798de5567e5a5e1b2e2851819d4a414286a4fe76258132a1c14bae0f1de |
|
MD5 | e00bf4d51d3e45e7ca2f8bdea3babdfd |
|
BLAKE2b-256 | 2decd452f93d7e82ac49c71c7dce35064bfe4ae633d7992ad3f99067d592473d |
Close
Hashes for grpcio-1.9.1-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e621c962c65162edff0eac6bfac9fae99efe80fc6834952d87d05d077fe455 |
|
MD5 | 5624fe327c6dfc8e0a4f361dc9167e9a |
|
BLAKE2b-256 | 44a82d9f410ce098d79b94a42dae9f05d08dafb4ee45b0668840b67430fa06ec |
Close
Hashes for grpcio-1.9.1-cp27-cp27m-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 210cccde7b2e1e19dbde16660079973e26738db4a513943dd155bbcfbfcf62b5 |
|
MD5 | 211ec9611c457087d333e3b13b37a860 |
|
BLAKE2b-256 | 70c19943797b236461425292f1d13d7e580e46f900c6f7db06aa638382d4623e |