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.0.tar.gz
(14.2 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.11.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aaa523dd5e91acb61d41232eef96192a66b1e8d85d79a55a204093dce50b696 |
|
MD5 | 5b504e1e64bfc23d56da41493d4a91b1 |
|
BLAKE2b-256 | 807ed5ee3ef92822b01e3a274230200baf2454faae64e3d7f436b093ff771a17 |
Close
Hashes for grpcio-1.11.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 592b14bab2cf8a5ac6e0b1e763b10828dda55ae74e4a476102897a25d033d0b8 |
|
MD5 | 508bbf4bb0b05bff907e9e8017280ee6 |
|
BLAKE2b-256 | 319859cb88f6d60525b88d282db18053adf10f42f16b307899581ac89435128a |
Close
Hashes for grpcio-1.11.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df3f75f88431da28b1c60a043f2a4f2e359287249baf317f4eda20626b34ce5d |
|
MD5 | 33d51409fc5a983f9a4a41f33c500cdc |
|
BLAKE2b-256 | c8b800e703183b7ae5e02f161dafacdfa8edbd7234cb7434aef00f126a3a511e |
Close
Hashes for grpcio-1.11.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc4deee5b4402c4bd37b3c7dbcde8903be89b9026af0f5777f63ae24069cafec |
|
MD5 | 4a43af752ca75a9b018a7ba92b6a1f0b |
|
BLAKE2b-256 | 11558242cbcbd9196db785ba18f48cfe14cf4473cf3bdd4a820841a34e3ae1c9 |
Close
Hashes for grpcio-1.11.0-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e81d2cd63fbc77782b140d728a5444c09a7ef1ea99957c490b722e416671921 |
|
MD5 | 22d7e7db1a540a7e5ba708c14610ddeb |
|
BLAKE2b-256 | b9434914451df9fe1acd8e75ecc395bce7fbcf09f87689b2bc4ae3b78b0ddc0f |
Close
Hashes for grpcio-1.11.0-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a648519db0de7bab3583dc2471f4c12ee3fc8a8c459e75da9e05ae70cf9ce7 |
|
MD5 | 59f86b985f75518de447ea4c1a9be57f |
|
BLAKE2b-256 | e0a0470238fa2c23bce0ba8fbf716c4660d25bf583deb1ae3853b576685b766d |
Close
Hashes for grpcio-1.11.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9b09fbae7bcc1b1791168665c29bcf37253f54d9d5e6bc8a533a9917912f1f6 |
|
MD5 | a120c170eead86e99361b765207f596a |
|
BLAKE2b-256 | 09a01d6b35901a6ae2e0e3d8ae977a68b0d97f9ba28bfc7e947f28ec46a0f6f1 |
Close
Hashes for grpcio-1.11.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d78d29295723493327c68aa39407ec44ed7a4ed326dde413cce57e2409683f68 |
|
MD5 | 81ae29ba4b3827c822b0293c585359b9 |
|
BLAKE2b-256 | 16988692844cccfbf8917db06311e3a5466037c6692f19bc1ebec254dddff4e6 |
Close
Hashes for grpcio-1.11.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6727633444344e14d499f81e41e87de29f42653a0c048c0fce780b29e2ffe563 |
|
MD5 | c4b1e09b4f6c756033fa51fa00835992 |
|
BLAKE2b-256 | 33c8368aeb6d300ffe03f1703605c097a705500c063f5c0dbf90012b243589ce |
Close
Hashes for grpcio-1.11.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efcf5ea73af68e110c375173495f36d9ed1e50bc88eeae1314f5573f750eecb9 |
|
MD5 | 8eebd89f224424226ee29369543c6f4c |
|
BLAKE2b-256 | e51c64c5a45eebbe1eadc06c5e2fd39ed953fb6c2a06fa444fc77ae88c3ae18a |
Close
Hashes for grpcio-1.11.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4d4eb072fa2c44a8fe22475874c13c2cc786dba587f633cd47720fb8fec922e |
|
MD5 | c697ba4d88b8ccb12db3f48a8cc97277 |
|
BLAKE2b-256 | 65b95418fceb22dc26546e2e1249cee0bc12537cbe2cf3ec33b51de27ac29a28 |
Close
Hashes for grpcio-1.11.0-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9b9e67059c81f5b232991c573601856065562f010b655b3afd7ab38459ac321 |
|
MD5 | 9cb35c2f111acdc2d0094b514c0cc2bd |
|
BLAKE2b-256 | 3bda944d037bbde806a823591abf7077a91f8057d901f281b445416aa66fd3db |
Close
Hashes for grpcio-1.11.0-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6e88dc0fc06e446c689304bae6cc15df0517f02ee2ac52bcef0cb893b3e9ba |
|
MD5 | 8eb79b94d2ccb07e9325d040aa51bed5 |
|
BLAKE2b-256 | 7e23f5d28b50e51c57c67c1b4559001cc4cf6f70309e473285f7bef6e3086c25 |
Close
Hashes for grpcio-1.11.0-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db2430e38a268e64c980e34a62b7f50365a4401172a2f5202ad05eb156e418da |
|
MD5 | 2d5e956cc4d1db347f9e985f65e1579d |
|
BLAKE2b-256 | 0058ed576446208189beb5359564a4937cf15b6cf0321b28006176e5db107733 |
Close
Hashes for grpcio-1.11.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc2595325ac3bbd170293050a3ff0b5c8e3846d8498d9b2dedcd3063460c007 |
|
MD5 | 510481751729ad66ac58654bd1c0c11d |
|
BLAKE2b-256 | f78982ee8d83cd7216a16eb9626b9582557f66185fce645111539210361a8723 |
Close
Hashes for grpcio-1.11.0-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c07fc5a9fa73832bca228d9004dc0a511d1f1a890c8ff0fb6e78f7fa1b96d58 |
|
MD5 | 250b2dde3b3f290c1ef1fabdea88b7df |
|
BLAKE2b-256 | 891c6ecb1924e0e5997a2813c9759a54c7e48eb2db6e13fdf7b4f87821869ff3 |
Close
Hashes for grpcio-1.11.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d829735b1862687074ef9df15f6c4fc1f3b27c0c80d4890ef985c039cdb256c6 |
|
MD5 | 35e09bda196ec25176838153cf98e465 |
|
BLAKE2b-256 | 77cdfcb5a0d07e1720c9091882781dff9c02ca5ec4e4e4305ed46747236e10a7 |
Close
Hashes for grpcio-1.11.0-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e35e4c0e5fe5f0fd8914a1630443f7272a752fb9d39c96771799a32056b06ab5 |
|
MD5 | 12145327a6895df47d67fe4bc9fbc9fc |
|
BLAKE2b-256 | 5815438372b3f5aaf27a05d8ed101c5ca3f056142828b6e0c01fa9b1a8839847 |
Close
Hashes for grpcio-1.11.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef5ce5cfe622830da8b92420748e7f5719d208198d750eb497a74fa20da5907 |
|
MD5 | 33d886cf970b32ae26639b28022e8d22 |
|
BLAKE2b-256 | 0d54b647a6323be6526be27b2c90bb042769f1a7a6e59bd1a5f2eeb795bfece4 |
Close
Hashes for grpcio-1.11.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef886f8c845ce7c011b2c154fd2b7998f920d145a2dfa121459e8df5b562a879 |
|
MD5 | 08131f0e0c4918be8bd1edc844353cc7 |
|
BLAKE2b-256 | 3798c087ce118713dbbf7ae2eba194dc6497767b1dceff89019e680b059c4ef4 |
Close
Hashes for grpcio-1.11.0-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9cf01192ed663a277b64bc559066b07a1355cd85b74cbca9353a25e8bd45544 |
|
MD5 | efd8a422c1c7a3acb5a6986a53deffdd |
|
BLAKE2b-256 | aa0cf4ca6f8ef1b08497aeafc7c712ef4535fb5a2a7f2b72370b5da3cb381957 |
Close
Hashes for grpcio-1.11.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03522ca2b80cc83c407d6d5fa0f532fc5b0160f5861ab6628ae418218022f339 |
|
MD5 | b0b6f1b028c36a288c666f6fa6d1375a |
|
BLAKE2b-256 | 487212d83b132d3b07dcc7b2bc62bf693c0400ca1d376bd12bc5bea4be7d6996 |
Close
Hashes for grpcio-1.11.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b092361aed6a5ab201e750ccc2fc59250448107cb958c63194455fd5161f3dcc |
|
MD5 | f4f4d3964acc4479adfbc657dd4a2b74 |
|
BLAKE2b-256 | cb44abec8de12ad556185f3e3e2fe348456e8b09e09877d1ff0cfd7d88b5d9ad |
Close
Hashes for grpcio-1.11.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b96cb00db3e4c2f612ddff81b27afd2406bf697f0654dcd5ba7bed3d5b9322 |
|
MD5 | 6a81e2b303f2491db92d7d1099e400c3 |
|
BLAKE2b-256 | 610110217a3cd32565ba7bddcf9b1e63ff11dc9372eab85706eaebf19ab11e5f |
Close
Hashes for grpcio-1.11.0-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0232401d096d9beb06d1af42cf3d65bcc790557712c8b0226809c27401dd455 |
|
MD5 | 90bbaed1032e800081e4686fc42ab8a4 |
|
BLAKE2b-256 | c98476f1f5c1b459acc90b6a95d61eda87bba3b04ec5e5b93cc0c5aff4ca7a00 |
Close
Hashes for grpcio-1.11.0-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5487948a33ded0577035fb9ad5c542463fabdb356d27fb6cf3eed0bed78f5228 |
|
MD5 | 67b3e0a27343cf4ec4c1929c7d33a7fd |
|
BLAKE2b-256 | 4775c8b6a98b3a8de062e9454a3b796344bb5a8f36caa558578c8bbc584ec901 |