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.10.1rc2.tar.gz
(14.0 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.10.1rc2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2301ad4bd782b26a25ae56fd2ce446f6e4bcf4484660a3fb50be0a862ed7b9c3 |
|
MD5 | e504df7eb93f55c3da235a9ae5f40598 |
|
BLAKE2b-256 | af00f2672fd8ac078605e6e8d512e95d7521be598db292ea30621a3997b0af75 |
Close
Hashes for grpcio-1.10.1rc2-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94c3fc9611a184504e84de95e92c1c8522371c8721fc9014e5392b2f67e6370e |
|
MD5 | 1081c909fa4e59ef9aa884ccd44addb1 |
|
BLAKE2b-256 | ab8389d2ab817849117d39dcac83064bab92bf794cf4072fecb7713fd9853131 |
Close
Hashes for grpcio-1.10.1rc2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bc109e45fd86a5d71c963cc18ed749f9fb27506bde72e748df8d3a78b01f3e1 |
|
MD5 | d192d29c5bb67fa71176dd5bc4cb288a |
|
BLAKE2b-256 | 12b6a877b74f8fc5faebad4b3e678409a8969094eec117956e8469cd97bd2ded |
Close
Hashes for grpcio-1.10.1rc2-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 415367a1430036780a0ea433644a89322fe4b102f9c3c464326d2ce16d9b282f |
|
MD5 | 64e29b997ec64f3c944ca9f661905ccf |
|
BLAKE2b-256 | e189b008e9eba649680104ba9e443a5e638aae43eda8cb3f7414b90b8b32f412 |
Close
Hashes for grpcio-1.10.1rc2-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aaaf77a4d28ae3b988d7a471f7b18f3b67831946aa10ebd66d7ae4e95213b48 |
|
MD5 | a389aa2a9d879f80eee0c0367e81eda5 |
|
BLAKE2b-256 | 611d384142848bd1fef994e22d31a3c82acab77d3e81f12a0d29b56d175028b9 |
Close
Hashes for grpcio-1.10.1rc2-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60bae597a4db143795cb61087d3b13e8261f0b5dee126229dcb571e605ac66a2 |
|
MD5 | 815a607766b48d623bb209ad68498e49 |
|
BLAKE2b-256 | a8af88e59181768074a328f6acbbec26aa63ef4980f20198827c1964cad9b0d6 |
Close
Hashes for grpcio-1.10.1rc2-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e079335acf1358a446dc506bad9b7a4ad548471118e0903468fcaf131fa7a260 |
|
MD5 | c87463a226d6031ae0c857a7ea5adc65 |
|
BLAKE2b-256 | 5bc72c4a33b4a2a3ee7daf4e21721de6dca13f38e2398fd3fb5c1d28e60e9a25 |
Close
Hashes for grpcio-1.10.1rc2-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bced68cd00587d56bf3322bdacabeb634398d03fc3d9e96f6557b7e55315e360 |
|
MD5 | dbf36dd732b8553ac488f53583e574ca |
|
BLAKE2b-256 | 128cfe69dc4df425c7339a5c4a9c056457bdc11fb0a1f612f7c3bf5cbd2391ce |
Close
Hashes for grpcio-1.10.1rc2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 881216e24ec3c5fd99f9cdb6e6f51400f3f69ac615a237924b1845ac76e87066 |
|
MD5 | 932c389cfb83180b05a9fe18dea44b35 |
|
BLAKE2b-256 | 0f0abd72d0255e4d7c15477a51f6405897482a4c0d56cd488487ae8db5ebaf35 |
Close
Hashes for grpcio-1.10.1rc2-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd47a5528d1860803f295d92c31492d35e1b865cab96c864d3a3c2f06d291f37 |
|
MD5 | c9824e852c4fe77ddd28bc2e90e1d95b |
|
BLAKE2b-256 | bcc08974831bcea091dacdd136786b9093d72b052eb00b4ad7c071a902c44d4a |
Close
Hashes for grpcio-1.10.1rc2-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d0a6ef650c39455e7ddee016b99491b83c3f48ffe9ecf192787d98b447a6cea |
|
MD5 | 5dcb53a03560f9795e34bb49b6c72cab |
|
BLAKE2b-256 | 2fde4e7ae13ed0144a7d7a2cc08d91447f5811d8978995493c86f30e36802271 |
Close
Hashes for grpcio-1.10.1rc2-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b702fd7c7f5fc7432da3ce7040c23c5fb95fd6fe1edb70f2391921651b08b5d |
|
MD5 | d61b13f5c90ec5b758e7a641de8e5426 |
|
BLAKE2b-256 | 68ce6627ab1bdcacc8c0ca48ec5bf2d9e7a6ff31dd8e75ad7781821690d4b521 |
Close
Hashes for grpcio-1.10.1rc2-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8949ca5d42cd30efc26bad4852ca58ae3dfeaee42f73c0236e5462db209c2c85 |
|
MD5 | 6978aa400c83cb922b09ecaf44376708 |
|
BLAKE2b-256 | 220ff6ff2dac5d9e66b3f5110b3475fd57b74884cae5026057991188e4c0088d |
Close
Hashes for grpcio-1.10.1rc2-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df98611241cb06dd05e62775986b2feb08d817ffda26ffc506d8bc6d4b7bed8c |
|
MD5 | 528eeec2a195fd4d5e43229d8e7588cd |
|
BLAKE2b-256 | 092ae317bbec731487d7541dd38cec474d34dc1da1cf426fcaf92645025de591 |
Close
Hashes for grpcio-1.10.1rc2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6651a2f52fd3b57cbd10084f24a791ad321d90c4f7a560a9c7a03fbc6cf1f5b |
|
MD5 | 7b1f61948779e8e2bd8aeacd67dc89ae |
|
BLAKE2b-256 | f1073dc8e7600b1cf111a7d4469b9a0c287781c1f6e77c22ebbbbb60f6217549 |
Close
Hashes for grpcio-1.10.1rc2-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d35a0a5c455c7ba055d409e07f5f781273b1f5b4a68e137306a98d2648014190 |
|
MD5 | 10eeb3a7f3f3a38ff63ed08038ab1edf |
|
BLAKE2b-256 | 7a4560b6bbc7f5297f9628cd80bfa16d6b904751fe852479a28070ff58ef52fd |
Close
Hashes for grpcio-1.10.1rc2-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be224da3bf55bae5c0f2a6a677bb30180848c0785a4c7c8baec1e0d3cc793283 |
|
MD5 | 15c35514fe37778274d643bdce5e2679 |
|
BLAKE2b-256 | 69cc66b1a317202d6c7c938bd676da49f7245823d9d0efe9bd839fb96b8e1e94 |
Close
Hashes for grpcio-1.10.1rc2-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3168edf622ae9b270545740021f2d5b2efe22a067ffdc87e2924f4c055bb79 |
|
MD5 | e69b5b506486dd7a51118c50bc53496e |
|
BLAKE2b-256 | 64f23190b60eb1dfefcab8d3c72d85eb8f09083b05ee39488a98030836b73015 |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5278ff5bc62248b244f593e8bdf836250abd21b6cd75d699f502fdf3ce329b4d |
|
MD5 | 4e32bbe419fe0c92d84254115e81da3f |
|
BLAKE2b-256 | 2f3b1a38c54376e884278029bc397568118ac0734552011784b5b1a176b243b0 |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccb34e2a9ea4c2e5e118bade537033ad6f2d69a028d192e7b5ec2ce0a8318be |
|
MD5 | 5a17409aaf2d1bbb6d6a53628901baa0 |
|
BLAKE2b-256 | 77a0aec5ae045a0d5d8520978aacf6a624f4f17c8eac106b48f5691ab4a8be9c |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 710c8fb2124d22ea599662858d3483c8c79dbd6a4901c84d20f398dd5ad326a3 |
|
MD5 | 42a5947c69e185266a632c404e401a9c |
|
BLAKE2b-256 | 83a38ff3f9f819fb93ab8ae0a64ac52c0805813a78fc6fa19b0fef2353f06704 |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb1c4e52c2aef91815fae78fad25b43ed7c5a88f2114b3aedbbdf5ba7afd6a60 |
|
MD5 | 3ad52c784d3bd929471100266e1eeb20 |
|
BLAKE2b-256 | fb2e36b6d50391c87d2e04765b93e45f10c451e308fe7ccd0e3bfc798c12545c |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516677f26a98ea3b2558d6459c5c7933962e887f1e4590ee65147e245af04c26 |
|
MD5 | c5facfd61265f7e3626e4ed8fb74bc63 |
|
BLAKE2b-256 | 366cac09d6961e716a30270d514b203a06529bae72893f5d666255eba72fb610 |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4777d1a8a534fd5d34433cd5a8f900121744243a35d64a3b33c2869aa2ee602d |
|
MD5 | 6c86a8acee7439f1b1e54093794b6d88 |
|
BLAKE2b-256 | f1e59cba8c49c121bd85c771546105073da7e8237bf681f70c647e259517f5c3 |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f21042890e3634b17c959260497e619405101f55d2d9368fa1f7be896418d3bd |
|
MD5 | 4dbdb3fb7755b46bd3d62fc64b568361 |
|
BLAKE2b-256 | 1f2c819d7aaa0aefe460e67846a0b32d25cd03ac00426699f59b33efe9d95040 |
Close
Hashes for grpcio-1.10.1rc2-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9487e1b5d61bf3de7e5549235cb5b8091bd94baa90cef5a22392907ea9bcd531 |
|
MD5 | 9218d541e5b43172e97b6a8d55867395 |
|
BLAKE2b-256 | a52ef2cafc315d50eafeece11acf4bcbac6c795ff09c81afc9ccfbaf8e0d675e |