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.8.2.tar.gz
(10.0 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.8.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04a69ecc3a8ecdc8579f28bf6c1d0c400a3c9a4aa1e2ecfef540eeb07ecea566 |
|
MD5 | 28361de3b478afd7102da2fbebd94043 |
|
BLAKE2b-256 | 64c75bc9898e45854b48beab518fb4d22de9d69be21a8da63bd95a450ec19384 |
Close
Hashes for grpcio-1.8.2-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd15a7fdcbe27e70411d9a9c3edc4dcfbec95e74a4b52e418fcae132ac53936 |
|
MD5 | 4c308ed284ba62d314d5998c37647bee |
|
BLAKE2b-256 | 53809f90fe5e4075c08b392c14f1e2629833b10a0238fd00b8a47957a42ddb2b |
Close
Hashes for grpcio-1.8.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69056464f37ce9ead215d432b867f649967ea74722450757a00b4d004c85393e |
|
MD5 | 25a29fb8b8e90e142e9c09c37e6b3a8c |
|
BLAKE2b-256 | b5badbc7d324bed23ce6812d95d2e8ceff29a9b7e0dae295951440b9be88a6ca |
Close
Hashes for grpcio-1.8.2-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8c3588eb2c554209c74417cce2ed57fc347492c64c5711df27df59821b632b |
|
MD5 | e64a4c6854c1dfea628cf0f45f692857 |
|
BLAKE2b-256 | 1b7f8f67fffe413c0ec729d47cc328defd8e3cfa81f6058942f3dc35719b05d0 |
Close
Hashes for grpcio-1.8.2-cp36-cp36m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ea151be5932aef0e49789be034b2ccf18567603332a89ead011227c2482cea |
|
MD5 | 985551cf451fe1d0bbea39d5c145a7f4 |
|
BLAKE2b-256 | e68f62036a490758443c902a374d6aacd6f768f318188fd2dac8f0bb987ae88d |
Close
Hashes for grpcio-1.8.2-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b800ae3ecdeb07c0755042194662c892a451ca79e9e8a28d080f72702537f3d |
|
MD5 | 4db487f5412813d80aa897460222db68 |
|
BLAKE2b-256 | 625e535a72d0e9559dd841f23079a99b17ffcf71128f359e7b3c8425d94e93c4 |
Close
Hashes for grpcio-1.8.2-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40db72c75f906517963358c749ac8f5377cf491aed83e2db8345cea8a1e22bc |
|
MD5 | 8d68bee968dc678ad4b09511ec711782 |
|
BLAKE2b-256 | c83f3bfcaf023c3639332f708eaa51312bf127f3bde94776108b5caceb1eac03 |
Close
Hashes for grpcio-1.8.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cbb5f2d45c1ff31b52bd6c2ffeae321a1b0724b833fb697af2760581348ba1a |
|
MD5 | 4ce2d7b607c3c9f0b4563a7c0496f769 |
|
BLAKE2b-256 | 9ac3980290f5116620e201d9d4e23fc2cfef655df68542feb597b396a914440c |
Close
Hashes for grpcio-1.8.2-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1205c08fc6be3481658930ccd22d203e6a2dfa8fb4efd9f3b3ba288f0af8d267 |
|
MD5 | 76f29813174a5e3039063fbfc992fe8b |
|
BLAKE2b-256 | 7c5078e5954bb92549d616abf9f97efbeef3f138f7f7e87d738eb17624e99027 |
Close
Hashes for grpcio-1.8.2-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b0eb29c4a3ea7686e0cc83c581a341f724fff19e90891bed4be8621d46f6e2c |
|
MD5 | f539cd6c209d110884354820f8638b94 |
|
BLAKE2b-256 | 5a32763efa9c7ea59cea65e061e728ad1c2a1320838dc81e4fb7fe2d928cc0c3 |
Close
Hashes for grpcio-1.8.2-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ba085e4f93f6aeaeaf50c73c5aac0131dc63914fd626a9510e4e09f9018f31 |
|
MD5 | 18813c335c8c649adbc9b45b5674b38e |
|
BLAKE2b-256 | 1614b970e42ef6ab5012bd23e558ba02de7d01c90f781bb348414de299f6cf71 |
Close
Hashes for grpcio-1.8.2-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e1ad744b4e89aabb968ecffd272547cd095a5fabf6c63d53560c95a6178ced9 |
|
MD5 | de16b3b469bee1bb2d41327c4a7fc334 |
|
BLAKE2b-256 | 74f79475e973f58efead09f5eeefc24d4aa61a7b4252baf4d80660732b6999c4 |
Close
Hashes for grpcio-1.8.2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 019238122efe8860c20db7c583a1fe122b007fd7ef3f7e6d1c9846343bb2b881 |
|
MD5 | 412baf18af59edb4d2c91d8856bfd406 |
|
BLAKE2b-256 | 86fb39faa485c9f830e8487ab4a10b16a2145ebd3512068e56bc0cceaab278e6 |
Close
Hashes for grpcio-1.8.2-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05c01a3f6fe467b6b0446df21f9a9d2a13aeed114f1d9baf8d62f9fbb26d66e7 |
|
MD5 | a6ba051493cb2022e4bf9cf5d29f571f |
|
BLAKE2b-256 | 302c7824d6a500f316c40aef9346432b2df92e29215d19094f877b736d67a3f6 |
Close
Hashes for grpcio-1.8.2-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 877d460372241cd9f35b8729ec992621ec420bfd80876e2004ef5117db567d2b |
|
MD5 | 0922c2a52a50c42a0ece4bf586f35044 |
|
BLAKE2b-256 | 259e936de8c5f7a9e2015cc384f0355d58c86ac8b765ee7b01c37c7df1deb77c |
Close
Hashes for grpcio-1.8.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e94e338702c5c03d97e292a4298eeb57f525445dc27fa0e224bef00c5a5f63 |
|
MD5 | b0735c6c870aeb3ad8de94dae319b5df |
|
BLAKE2b-256 | 94ea4c7d980cf8beeb710458436e817bd770c85460a84c797f328383ba79e20e |
Close
Hashes for grpcio-1.8.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb8f9a1599490dcb17bc58e7be172bbc6c392e9686e07020f2c54767f48987ba |
|
MD5 | 7479f13692e831d537165ad7ed312870 |
|
BLAKE2b-256 | 14185cd82f0d59316ca326a1258cbf4179fafd71de6fbf50c69cb12366102fb9 |
Close
Hashes for grpcio-1.8.2-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44b8b76113e40911e4e3d223e907d84a5b32517fb53853f82b3405bf67d0b601 |
|
MD5 | ebe32ba28acea5a2458c00a263dcc434 |
|
BLAKE2b-256 | 8b1387a3dcccff689b72ccd1c3d397f326ab7615146148ab7bd1ae57ff3da120 |
Close
Hashes for grpcio-1.8.2-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c14f48fc21cd943269af95c5efef07f9b6d8acbd16e2b1413e071e69a086ee71 |
|
MD5 | b1cbbce768ecda526e4cde2c35d75094 |
|
BLAKE2b-256 | 93f0cd29319e86ece7b8d99045ffff4eafba2aececfcf2a8b382af68f08e903a |
Close
Hashes for grpcio-1.8.2-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b6a20aba78bdf5f778a6af3f115dc8bf9e56fac108a9e4094ef9df79ffef78 |
|
MD5 | 92154aa9cd7d4fdff584357538a32150 |
|
BLAKE2b-256 | 5842983af37681d281fbc1b653b87a0f434b382260d124ae3678af9355282a4d |
Close
Hashes for grpcio-1.8.2-cp27-cp27m-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489ef5652fac47bd9f8983c0c35fb34f1f495990511c47144dd67e2acaf2a1c7 |
|
MD5 | e4408ace9acc1bce18b00b73969ab55f |
|
BLAKE2b-256 | 01c2a40152e96da23739de01fc612abdff7f231d91936497a1ca585896c6c2b5 |