HTTP/2-based RPC framework
Project description
gRPC Python
===========
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 :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 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** :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, 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 :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 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** :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.3.5.tar.gz
(8.9 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.3.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 385a8d3cbe667297e725893156cf10c9a2eb3a82f11521d8f102f37fefb9af03 |
|
MD5 | 3a4ff0ed31b6af5fd2fd2ec4066fd238 |
|
BLAKE2b-256 | 9413e79e4a7ce6fbd89a937bb053b97c321c45f4661154cebf68869f48c4e6aa |
Close
Hashes for grpcio-1.3.5-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0adac7c0a1b92ce230d03702f99ab30cf51950123c8ec90a874c4b346cacc5c0 |
|
MD5 | 7544a10293e805abb91801960b31f18b |
|
BLAKE2b-256 | 1409c1f42ae84cd765514a78d481ea3d1268938380bc65fa674f0d66c638c28e |
Close
Hashes for grpcio-1.3.5-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec50af80a1cd1db9cfbbc2c00e1abb3903aa392e5abc9dd677875244f7477f8 |
|
MD5 | bb705e56a8eff327a84c163708b4987d |
|
BLAKE2b-256 | 22b830ae65c35e621efbaf63a27518cc01cbf32390ba50abc6934b7b1f5af2f1 |
Close
Hashes for grpcio-1.3.5-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c7d60bd93b97d0f730f14370f3d074225904edc18faf37330608d1a753713b9 |
|
MD5 | 9a3c3975477f2dc250be15f748afa867 |
|
BLAKE2b-256 | 7682fb8bd114f5235208e62486cffe0c5efc2f9cda7f67fa22e87fdf0c0cdb10 |
Close
Hashes for grpcio-1.3.5-cp36-cp36m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93f4b29f42e10f4fa64c4313f381b4704a7ff796c30c24d965dc4613270c232e |
|
MD5 | 87a3ee2ac2f11b3d3b6c3fa5f97874e5 |
|
BLAKE2b-256 | 2124e708dfa2995dd6722652d2ba50f1716afc14c867106338ef1be4cda24cf2 |
Close
Hashes for grpcio-1.3.5-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d5c99a6a5ef63daa0f967754062dc287aa5c0c6b70e08f558cc63e4adbd3e3 |
|
MD5 | 4d8544f9da3b37616de4eff170ddea0b |
|
BLAKE2b-256 | 435ef158a4e99afd1b5b8a6cbf47e2ede64b4edde250210cba853cb457756924 |
Close
Hashes for grpcio-1.3.5-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46647e0906094877a7cf8f3b84b95c39ae0b313e4d43a05aea810cd891b7e936 |
|
MD5 | 82be6aac44579815b056f3b0686cc396 |
|
BLAKE2b-256 | 8d83741d5fd61d713706bc85601bfdbbbcf379422ef4fd13eac4654e163595ad |
Close
Hashes for grpcio-1.3.5-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4515449908f253b29b642f96e850cd07b0205eda6850af545b55cb4c91e46cc3 |
|
MD5 | ef29da52eced581c5ea3793e8148225c |
|
BLAKE2b-256 | 6dbfce742e6d187c44206c2ef0a39f458ea12270f3aebca739e0cb3e53159332 |
Close
Hashes for grpcio-1.3.5-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bca117616411706c4e0ec1d072eb9343d768096a53aa30b4685ada9208c733d |
|
MD5 | ef0ce10c8082fbf52f29f7b819c6deda |
|
BLAKE2b-256 | 7899e25133a3ddcd172b8b3d22aa4c74477ad4f0cf623022616450294d889062 |
Close
Hashes for grpcio-1.3.5-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a62e10f4a04daace271e8aa05aa1addbcaf9eeedd854a074834adb7728091a11 |
|
MD5 | 6bba8af283c0efc076db6db7bc921838 |
|
BLAKE2b-256 | 52ff7e5f6d87d54fc216e24aa028bd5de58323ad0868dd8ac631bd4e2e2f4a9a |
Close
Hashes for grpcio-1.3.5-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1866804705dee869f2f2c2df332257384b56d1040ed1edfe15dbed0667f4c26d |
|
MD5 | 35634e00c52cbb5383afe45a3a6d74ce |
|
BLAKE2b-256 | ea32e52cde21742983fc4b25c0fdb36a87b01a5785217257a29a15b3a4956fca |
Close
Hashes for grpcio-1.3.5-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af9264ca3e01e84c564d993de54330fdf77c19d8ad421d26d0bc8b56bff2e60c |
|
MD5 | f3b0b0631d1bf96d12cc6afd7b686a05 |
|
BLAKE2b-256 | c85c8e5000b4022e892ded1bd9a8e669532919af1209f248451e027367f7b54f |
Close
Hashes for grpcio-1.3.5-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c55047eda9427a85cf9e8dbf68a0bd8213c0d3e7e8c0a6e4420859aa4ca67f22 |
|
MD5 | 421f1e24c524d5e10fde6bc87f4b4d00 |
|
BLAKE2b-256 | 69c298162d3981cbb3f3667c11b7eff01c0dc8b532d630c43f8d91470bfb4155 |
Close
Hashes for grpcio-1.3.5-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c892694a6bca7628ad91663c462753f9290bbb17726e5abf0bdf6c02580c257 |
|
MD5 | 2fd40119e27b3ab692d9aa12f1a43a24 |
|
BLAKE2b-256 | dd060ec67a46c49d8e13d5399bf370c82f2af7e0a54ea0f09e9319f31beb5c14 |
Close
Hashes for grpcio-1.3.5-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ffc08901eb0e51f7dfe584247291bb37e2eb878f641cfef7033b459be3c5740 |
|
MD5 | 7e56a70f44e6848c75cbf3992dd94da1 |
|
BLAKE2b-256 | 7813010a5bdfff104bcb62125fa51587a6ef698c8bb4fbc174c9bac13c38e523 |
Close
Hashes for grpcio-1.3.5-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6987ec6d1cf0aca72a756b6b2ad52aa6aa4c8cb5634905943b02ad19679769d0 |
|
MD5 | ef27e39d830083c61202972a83e6d273 |
|
BLAKE2b-256 | c7c62380968670d8fedc61181269513dc9d04dfec929d8910152692b690db459 |
Close
Hashes for grpcio-1.3.5-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ae53a22fe6f4238dddbb8fe939440c74ebd09e7b138bfa34bf3ad1a8000ffe |
|
MD5 | 1396bc88e45289b9b37edd7f2cc037ae |
|
BLAKE2b-256 | 2a761c1c085ce303378062413d61fee4432d7af096256f4a98fcf29fd69aa4b0 |
Close
Hashes for grpcio-1.3.5-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e42364945a71dba1d56e77fdf6d475552f538a3f178d7ad439c6f0225c3162de |
|
MD5 | 41fdaf2a7922f8fb09c1cbcab2f9d3ba |
|
BLAKE2b-256 | abb891ce966d36acd62c38ec220e919d93d6fcb5085b06413bed9a2f52681ff6 |
Close
Hashes for grpcio-1.3.5-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 032c52d8bcd24bd0cdfb5d917d1756a1d35a2c5c3bb2a3d7052a9752a75d3569 |
|
MD5 | 907881d14ae14c4b56f30b88c4009974 |
|
BLAKE2b-256 | e1317d4925eb3f452d5be7ac98bcc8500a3a88a934b30c7dd5826d1511e67e5e |
Close
Hashes for grpcio-1.3.5-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 011723582b9c4583428aca3b6ba595f6093f37ad5a9a2ec0a149fc70f7503cdf |
|
MD5 | 1d4688eb92913262beaa3dd342c103f3 |
|
BLAKE2b-256 | 9212643740ac322d3d7775fae7a5cf53c92dcfbbfd541f6299879d8b9ac6f5c8 |
Close
Hashes for grpcio-1.3.5-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43eb3ea38f32209edb88cd5fc56254a8ae3e9b789a0245e12a1e3dc125e84831 |
|
MD5 | fef374dd233d507fd2d665b225df7bdc |
|
BLAKE2b-256 | f0f4dd1bc5f1fd17b8bcd2c9bfd7556713cf5b95109c37d892d52dd84c135d17 |
Close
Hashes for grpcio-1.3.5-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bb39b9c18f1d845bc51b6b1b8b746875ccc85deff2e4d496cdf52671075fe15 |
|
MD5 | 033f887db6631f12cedecaac62ca7b6c |
|
BLAKE2b-256 | be4f06bf4bcefb434016406411fe106bfcf5a5b377617072c1efe51a932f5e96 |
Close
Hashes for grpcio-1.3.5-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a5ced329494d16bcb8d01fe1523fec6566aa5048a030084cf2e945ad7f5ea6 |
|
MD5 | 4c119c5c465a4789d08844fa3214513b |
|
BLAKE2b-256 | f379c51dc9c59d58c1ec8d5c23e130744aa55c3eb0eb4f51a9e9024fd5603157 |
Close
Hashes for grpcio-1.3.5-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7909a3fdcef9691c2d6d2d999d8b4e221e605bc340c4175c9d83af5b476d463 |
|
MD5 | 89df6e6ea40e93b52e802d1f442e2f0f |
|
BLAKE2b-256 | e44e58efbfef133cfdedcdccf977e1e5f7ed83b2680ce123fe074d24891b3b0a |
Close
Hashes for grpcio-1.3.5-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe963c43962376a4a89b1e1b9a3516e60245b1f266440acd075688518d05e27 |
|
MD5 | e9b78da91dea45caace4e5cb7b59178e |
|
BLAKE2b-256 | 1be228e43b1aaa6ed7fdb0a3c9148671c806f5df27ce92daf65ccb3adbd171e3 |
Close
Hashes for grpcio-1.3.5-cp27-cp27m-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95087444e202d901e82c101f81f5cf62bafce3976df4fe85563562558696b5cf |
|
MD5 | 171b1b2c0bba42a0f37c6a34bef34bb7 |
|
BLAKE2b-256 | bbb3b6fda95afeeb30709fba411e64f01f7bb576c8d197cbaa3fa3ac509829bc |