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.0rc2.tar.gz
(14.2 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.11.0rc2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d8a69d37ccc685de572ba90881134b0889c0f2d8e798d482ce1c19994f3a3c |
|
MD5 | e9ab62b751ccc3e1100268245d787fa8 |
|
BLAKE2b-256 | 5f2936c72d84edebc2e2e5da6b63c78f7225eff7ab7a1f185802817f1cfb60da |
Close
Hashes for grpcio-1.11.0rc2-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e820438aa6904d59c7ec142a82f6aa6913dd23da7cf5629f1dfdb53ca880cb0 |
|
MD5 | 9b008b92f755beae6fe7a690bc6e9c7a |
|
BLAKE2b-256 | 58c1535b59ddeaf450c5ace378b8b1ab0c5a80154652cabfe148238e6c7ac3fd |
Close
Hashes for grpcio-1.11.0rc2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 353425a3a41e2e081fbd02581619bc2d7c6d6c69e3f970d6ccba23fa877e4bfb |
|
MD5 | bfb0e30cf9d790ef31c4c70e658c2f7a |
|
BLAKE2b-256 | ea724031cd2201f038f994bd8bcc629104f06c7c84e51b0d506dd3cc9047c34d |
Close
Hashes for grpcio-1.11.0rc2-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76862178003d696a20d2deb0ab0eb236c6e345e6adebc222b9291bfd68699843 |
|
MD5 | 6beae7c50575f87dea06b07f840426da |
|
BLAKE2b-256 | 85f5a81b03eb42f91e4d5e6ddf1b696e85b65891ec79707305123b3e7791bf0d |
Close
Hashes for grpcio-1.11.0rc2-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13ef26d3251ea52c96f15264d5c8b09a477f92c643073acb5ce72d971e9c63c |
|
MD5 | 04fa1e3f5d28125b09557767a14b318c |
|
BLAKE2b-256 | 1bd90f7f566bb31e643c22d53ba9c7af2cb5643718c361ee006e66c85150e007 |
Close
Hashes for grpcio-1.11.0rc2-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3edf2e9e281b34c541cbe0d37a6beb2725d3ff3e851bf889577bc7cc48c4e161 |
|
MD5 | 3462d8c83e9b4d4007df0ac5971bd88a |
|
BLAKE2b-256 | 7013bb66089c8ec0306fc322a1c1d5131e6c2446feee65ac0652a2a2be8f45e1 |
Close
Hashes for grpcio-1.11.0rc2-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56ccb38b4cab8784932e99731c155156f0b740e89ffea409e168468759079db2 |
|
MD5 | ad90300c52d6c07635ebe762e10f1331 |
|
BLAKE2b-256 | f694559b335bc4b4b3b718724dd727f683da65800881ad66c31ada6de6563207 |
Close
Hashes for grpcio-1.11.0rc2-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b7e26ad32dea0546b0dbe48b21d18c2c13bf8636dca1cf147c0460fef521d1 |
|
MD5 | 1a80657a8ccac82095a6a595e61b3ce0 |
|
BLAKE2b-256 | 587129b4603302c1683c550c4d4391c9510fc9aa31722af801998ad729c5515a |
Close
Hashes for grpcio-1.11.0rc2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2ef1a155f64b00a3db6403c0feb2f181474d94d5fde14c8c5c09bcfad6f6b9 |
|
MD5 | 9f055a8d486fc9f00388d0fc3884a202 |
|
BLAKE2b-256 | 6b29b62730eb23ea43e5b19a5ab34cbafb3ae454cfc415488ef3fe716adc50b3 |
Close
Hashes for grpcio-1.11.0rc2-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d11f8f898f9811942af0692bc998f17935e887045806a0993ab4e811439b57a |
|
MD5 | 73ba610ebce435fdbb1f70118c78a0cb |
|
BLAKE2b-256 | fc88e258c80b268c917bf438fbfd7c4b5c32e6c3801d4f733ca35054760cf68e |
Close
Hashes for grpcio-1.11.0rc2-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16d42665fbe14181e07431e276c0a89fc937f0a747f2d3004c5df7d2db017b09 |
|
MD5 | e63703205fd23610e56c02defe871495 |
|
BLAKE2b-256 | 4c4c114f5ddc2ff0ea21b51f859543bdf0666142bfdbcb4d6aabc4f20c9ccacd |
Close
Hashes for grpcio-1.11.0rc2-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d8686cb3525f3eddca4d264f8281c19c94e5aec8c2518ebface1aab7dfc245 |
|
MD5 | a0e5e4fe7255362a8f0c14115b25cbd1 |
|
BLAKE2b-256 | 0258a6ca35bbeaadd37443d7914a7fccb6b21e28fa531d19b3a7edfe715b250c |
Close
Hashes for grpcio-1.11.0rc2-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9a57038a5b52b7a1cbac36b0a629c4cee463fb25b474409d1d7692aab4b5f1 |
|
MD5 | e6d444c70c216a940e2898d8f55b92ae |
|
BLAKE2b-256 | bc185665358cbb377a77c7dea7ff95285ea3e59f4746822d9cc5a0eae6c17e80 |
Close
Hashes for grpcio-1.11.0rc2-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003be6520be8342ac95037e0a560a3364a2634f7389c2e134c2d61b8d58ef9e0 |
|
MD5 | 550aca83550746cb2b01fa0919c9374c |
|
BLAKE2b-256 | 5b7dcb30ea01cc2e8c6814f2ae0eb333dc24ee368a8c910f453d8b0470c768aa |
Close
Hashes for grpcio-1.11.0rc2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f66b626944c35ef27cbe85d5bb87f19abecb000db3eb90cb52d765a8d5133f04 |
|
MD5 | 90129ba9e0d9078437352863cf4391de |
|
BLAKE2b-256 | 03bd5f31d9cf5a34013b6509e5f418e23b1c11fd830a2801d19dbccced54bad9 |
Close
Hashes for grpcio-1.11.0rc2-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 266ba2a5664f9496e312c83eb1d695afa8b87a9e5158d769e723de72b59988b8 |
|
MD5 | 90d7b1de12baa2dcceaffd1fbc05b88a |
|
BLAKE2b-256 | 04027e5b2dd6c5eceffa54ad38de1b03c4b3171453dbd8e99df5e7867398e0d5 |
Close
Hashes for grpcio-1.11.0rc2-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebbef548359187b3f0db1dd20cb0d6199716ca4ae6789d3d93839ff75bbea4b0 |
|
MD5 | 061595c045ca6ccaa33b8a704a33be1c |
|
BLAKE2b-256 | 6c78923538aff3471a11784cfc5b63a419ac6082f2816d9a931aae0f9317cf77 |
Close
Hashes for grpcio-1.11.0rc2-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb001e109c8a7dcb159bb79cba13d6cc10c2a2ca41d7562662316d18eaeab5ee |
|
MD5 | 4fb77fd6edcd246782ae091159816484 |
|
BLAKE2b-256 | dae9017a890309a5ee7e686225dab7db953ab9f0bc333ffa1cb24d24e4e8ffb3 |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bad27f06c19d7f79f298fbbaaf029aed254fab31c67908739d98987a22a3816 |
|
MD5 | d554e27b4f5007e400278835f54e9a06 |
|
BLAKE2b-256 | d12ca75dc8f8cf2bc7f9f86ea3c86e38a9ce96553777ed083f261b2067dc3759 |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624fba86bd529eeac2c70a853c5780bc8072a1d69ad7d9086661692ac92013b5 |
|
MD5 | a36bc748d6c8dea6a945fc34698c4a74 |
|
BLAKE2b-256 | ed70f1b33d0381d0168573d01bb08bbb9b58e3d85785ce6cf2a32a6372580dac |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b11c172fbcb836b81a5c4a955089a80c355314e6a02aeba1116d968b0e14c2e0 |
|
MD5 | 4593d112d20482998a827d9fa72e5811 |
|
BLAKE2b-256 | 2b4dab93f94e044dc3aea890cabd16b9fd1a027788e31c11b3ef7bec773dd897 |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a23b4ff08acfd10e9211bceb5e9b92877aa3f151dd2f58397b8f53dc8032fa02 |
|
MD5 | e6954b9e7161918d48a26d9ee465dbc1 |
|
BLAKE2b-256 | 074ad38620ed4ec005065b0a4aa51ba66a525fda97a37f9f248fb1d6b2bb94e6 |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3a98519c713a6b21b8b93bb4aaf2537186bb599e2b5e705d9df47f0ff3e54e7 |
|
MD5 | e1f908d75cf17c77d7feba79a41118e8 |
|
BLAKE2b-256 | 89568108333fdd7f820be05c49cd826893f5ce6565f3ba15873aaed5f8132d6c |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57939a17e3de8f9d54d562c7f1f2c9c151d12c1da2536be12ac44abf9d8feb4e |
|
MD5 | 0e0f124030e0e4e599eb58955bd5a590 |
|
BLAKE2b-256 | 414c8c74502fa1b32ac84ad8d5c7314e79feaa6f2a653ae3b075419cd4c56403 |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7ab66e1f2793adce31346e2b81daad6f2e4e098175660ec637b6dfced9f31cd |
|
MD5 | 79e91567b6e1d422190719c157e04acc |
|
BLAKE2b-256 | e08a7d75a949f6699a9429eeeaed15ff565acb262f9bf7bc730d09b7e0e68c71 |
Close
Hashes for grpcio-1.11.0rc2-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21abb46906326cc5164f6b571daa530168a838380f6feb102ab4078c5b633b4d |
|
MD5 | 6991245a64d84f49d62ef4bb1f711d95 |
|
BLAKE2b-256 | 8adf72ad5312550037692589a44de73848b58b4ad83a7a22fbf17278e4b927a6 |