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.11.0rc1.tar.gz
(14.2 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.11.0rc1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95832b47273a17f4d646385852ffe53afb8036c0a93eb5c1479e2170c2e2fb4 |
|
MD5 | f56f69fca2d89ce46110938674256f56 |
|
BLAKE2b-256 | 959a4b657a70e06e7d2fbce8e30e9cadf498fa89e37cb6dcaa62c4a09df25f3e |
Close
Hashes for grpcio-1.11.0rc1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c67efb486bd8fdf0df35ca49e7c93073c2f35c7b000ad250bd39e4257c829ad7 |
|
MD5 | 7717bea6492036a4dc161ea603ac4d4d |
|
BLAKE2b-256 | 73891289aa74329ac7f4f89d8e6f0b69acbf623c4728805067920754b2dd7c92 |
Close
Hashes for grpcio-1.11.0rc1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee770a44a1d15245bcf741fc7122793f3835b43ccd456c885551277af253301f |
|
MD5 | b2a78d83a4be5630bfdfd89761a55ac0 |
|
BLAKE2b-256 | aefe1ff07d2b782ebd86b755296e1dc23ebd2f0166a0ce75a504c6264547671b |
Close
Hashes for grpcio-1.11.0rc1-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9920e8f2582f2afefee6faceb5e16d2355296e56a2c394ad501ecca2b2d74a2 |
|
MD5 | 44923160cdc6473f6a10878cdfbcfefe |
|
BLAKE2b-256 | 9721f92d93b8695303e74af03d018c5c68eee7ce1f372fa8085217b2f2f4497a |
Close
Hashes for grpcio-1.11.0rc1-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7e55c65f61e9e1f53f6b929a0f69bcd1401609851bdbfe860af2c9a4385c9a3 |
|
MD5 | a5c7ba34edd73786a19e19322ae4a3f7 |
|
BLAKE2b-256 | ec818956e1bd7209f5b3c43ea83dd3b2673b62a2a7fb59887a0ddf990b7f1a83 |
Close
Hashes for grpcio-1.11.0rc1-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdf4bf1ee146d44cfdb62e7568c88cd4d7e01f62ebbf4a5094fefddab125f5a9 |
|
MD5 | aa916424c503c43af1e1f859191739aa |
|
BLAKE2b-256 | de0117afe853a71eb7723ea487668366bcd2e91ca9dc34d6b85e4b145a5200c2 |
Close
Hashes for grpcio-1.11.0rc1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98913ebd4d48b65bbf42168bc21eeff995810b0b7ae1d4a10f4d5d2ad054b0ec |
|
MD5 | 7826f55e7e9e9355760fe060f4f634d8 |
|
BLAKE2b-256 | 8341c7df2119cb018f35afbae80ed86d21057ef44f4708aaf188bff1006b7166 |
Close
Hashes for grpcio-1.11.0rc1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f076b4bff8b842086a2035aefda30a3607b8b42468a3de5a942d0f4206400f2d |
|
MD5 | 8d97452a7135febe090126bb76896219 |
|
BLAKE2b-256 | fc252c730d8800454dc7403e6a9273d7e2de59383d0201d3265f47285e51277a |
Close
Hashes for grpcio-1.11.0rc1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22f28baf0f4094834192a9ce05fe9c77de8d18ba611e6e12bc44c84155d554b5 |
|
MD5 | 8954906457f8573d23a5bdf13b619b02 |
|
BLAKE2b-256 | 64961bb28c5de0c21cb37162d4dce7e4d6cd9a5f3f01bb7ddd3ddb25baf62662 |
Close
Hashes for grpcio-1.11.0rc1-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 552e1bbfce88faea708161afffd26a1321a593c2de0e2b3b2bb26aa92a1c68c8 |
|
MD5 | fea373b6d65d3e4abedb1719024ffebc |
|
BLAKE2b-256 | 0d692782eb5a8e4ba784986c4e9f12ecb00b61ed3e337d7cda966599368ec95b |
Close
Hashes for grpcio-1.11.0rc1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8441a59c13ecd3f1468cfe11ccd3e9155938d296c3c2a1aa4c17a8a10b0466e4 |
|
MD5 | 42526c8cc7d5faa32513229f9ad6d7b4 |
|
BLAKE2b-256 | 15983d74974b1d3c91aff132d7c4fde0b4048e5e1bfb29c0a8835198365a3631 |
Close
Hashes for grpcio-1.11.0rc1-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db86346c7f9645b35a40b32f74ba7533b3cf90c58e0114ea5a67417c54194e1b |
|
MD5 | 1e7ba4311dbb33399c97b1dafb367a1a |
|
BLAKE2b-256 | 4b293ceab82715c834dd77f227aa0b810c5a138b9358654ed8d1ff3409b28723 |
Close
Hashes for grpcio-1.11.0rc1-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2676f0c5142de72f3781b05fa7f24656dd798efcbd600f8c1eed414431ba865f |
|
MD5 | 6e562f093302f855084f7c0d66ee39a6 |
|
BLAKE2b-256 | 7497aa0e428a30ce3e90c3878850904906005c0567fe2e0fc2bc68874f1b92a8 |
Close
Hashes for grpcio-1.11.0rc1-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95530da29b26f2188772768eb1b45fcfaebe8d684fb87fb9e2368b21ac092a8e |
|
MD5 | 6998e7dad20bc505e6ffc3ff0aa9a35a |
|
BLAKE2b-256 | 7d328a711a484fcf2b23e7385c57cd5442c9e3fc767a6c04c6b1ba3a30b23497 |
Close
Hashes for grpcio-1.11.0rc1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57dbaf32934ea814e3a5e06cbc26843ee8e8fb32ec658746df86da935d91c056 |
|
MD5 | fd0b18d23b899c679da1f604e089c7f0 |
|
BLAKE2b-256 | 1f8c9bee101ba1211887401926a9340fa9b2056a65ce6d205439473974c14b29 |
Close
Hashes for grpcio-1.11.0rc1-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8d5cb65f146482f26253a79295b4569ecee795889605e9aa55e027b744546c3 |
|
MD5 | 4e5a3800e778ef83cb111cd12c443555 |
|
BLAKE2b-256 | f4c363a4b8dc7a202f239f07a0c716ef2f2aad0bfbe38f65356c0751604434d9 |
Close
Hashes for grpcio-1.11.0rc1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 831e2c7cb6fe8e6c01645f5f7171661bca3d8bcb2b107b7f7e8145eed06562ae |
|
MD5 | 36fae5ae17d9a5a79dc499102f1cc665 |
|
BLAKE2b-256 | 9c85fa2b7ef7725fd3b0106f5440fc84bd47da8e3677eec695e2c66013e0dcaf |
Close
Hashes for grpcio-1.11.0rc1-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f324201af29cccf3fe51be343b165681fc6e220006e01d24a7aaaf9b86f08bf5 |
|
MD5 | 09020e18da53c388a2880058047b023d |
|
BLAKE2b-256 | 15ce2ebbd0f23a521d6fe4101cd2d413e3ff719377c1bd3bd1966fdf7a3e82ae |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1d3f2a3be53ddba3b15a9ef3947262b77ecb541770a837e8777970bcccd784 |
|
MD5 | 028c3370de38232bdbec580638838fd3 |
|
BLAKE2b-256 | fc0350c8639cba7c192898365211549185ba2c190ec2c13428edd49adcbe1b49 |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0104909b29a6fcc74335727b50751211e48497ad8ae08d0f5e3bb23b70257ce |
|
MD5 | 7a4f69d24c099c0b449be93eefa429f4 |
|
BLAKE2b-256 | 513483a75c6ae0592fd29eb9f2319639c1a1617a9b4c6339c6859e7dd7f62a77 |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2997fd689d201259c05fd17090d099647656abb2d8345bf930c8198553c5965a |
|
MD5 | 4c239ec1b4d323365ea9c7acbacadfac |
|
BLAKE2b-256 | 2839c70cdb499ddcff22dbb94e1d47c294d04709219275c8d2b063f3582e469d |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b892cb4723674bffbdfbbfc320144e7936db26ca8d1739f1b77dce8dd6243ad |
|
MD5 | 2c0c0d8fdaeff59fcb067d566369e40c |
|
BLAKE2b-256 | 60a92e29c497db597016138d701b0c9adc4b6056daa6bec4e500f780b2dafcdf |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 919f9a4bead0e574d0170de3b55015216a8252983a2e4ca0178f081cc97bc3f2 |
|
MD5 | 320f070c9e059700dd7526cfc8b9bc31 |
|
BLAKE2b-256 | 5ab94112369090b543dba783f728ae358abf4373ae074a75f74470725ecb2099 |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8920c8ad7934a1a14ded34bbcfd93e6638f9da5f248ee552a61cf8ec698e4f4a |
|
MD5 | e97c0f5afeb4444971a8c66c3ca82728 |
|
BLAKE2b-256 | a1259eed53fec9b62e2c742ce48f2990dce72e956cabad0c8af24bacf0b630d5 |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da8ae05bcb835e7c2c756eebad7f436ebbe0a65f5beed38eaae587f685c8f90 |
|
MD5 | bdfe2c077dcd017930a0230d0acb19aa |
|
BLAKE2b-256 | 2b9c497301ed23d381d8c038107980ccbfe43b9fb7820bdbe4ecd3f27077cb73 |
Close
Hashes for grpcio-1.11.0rc1-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efac2d2afb60069f884f61b16039a1223b4b5d4aec7503c7e462d537217912c6 |
|
MD5 | 7daa26d419463ab401ecd666ff9cc4bd |
|
BLAKE2b-256 | c1ebf17303f19e9c4a6ab9c219bb9e742986032138eabb2c41b1c35750a38e93 |