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.6.3.tar.gz
(10.0 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.6.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f0af9f914bc39aaa5a459b03f5e883b0bdc460ac4d17f166631ad4b79544b9 |
|
MD5 | 6ff0a0bf64533a04ff69348dc06c9727 |
|
BLAKE2b-256 | 044921abd698c318c1058b9f2beb3009a5f856b2b07cf5f00279b8b9dbf754ed |
Close
Hashes for grpcio-1.6.3-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41b01553961752e0717ec4776ac36462f945a791a4de23d3cdd0efc6395c3a55 |
|
MD5 | d54f9f775aeb36f87aa7452e4fc6cd7c |
|
BLAKE2b-256 | 070e4e86d2ae19a3897a290bc98b920d20829da854789a54096fe8542b03fc3d |
Close
Hashes for grpcio-1.6.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20fd843a337b9d444ba4580e507ec61afa5b3d155fe96ed586c5fa9499a51e62 |
|
MD5 | 69e4bdefc570ae1206daadd3e073d883 |
|
BLAKE2b-256 | 0ab33be1cb89d43b016bb3204b1c3ed8cd53edafc744dac6b9869f46f860400a |
Close
Hashes for grpcio-1.6.3-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1951d786326068e270e8892c792472e4b7eab5013079a37de3c0dcade433f46 |
|
MD5 | 6ec2f66a9bca39f6d7eb7c5d6294e8fa |
|
BLAKE2b-256 | 7c831c85912dbd2023ed5883875bfff3c234f745264688db86354e4c44058c81 |
Close
Hashes for grpcio-1.6.3-cp36-cp36m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b75fe5a4fdd68654004b10c7963b73451b86507e55b39be07cb3322133997d |
|
MD5 | 06780cea64a339e001efb450f86da8ef |
|
BLAKE2b-256 | 842658a3a93e7b27b96e81619fc13c0b63a96ccd2b5c694bb2425dc4ed51bbe7 |
Close
Hashes for grpcio-1.6.3-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8688ea89903a9a746ae9de19e80d5a7956342088a5e87ddabf46b00b25ae08d3 |
|
MD5 | 22fc547d9b8e82b1cc4f98cea4f038cc |
|
BLAKE2b-256 | aa730467085bf20e58a49d51f2ba09d47979f211f39b83ce7d458bb1db0599ec |
Close
Hashes for grpcio-1.6.3-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e2d6cdc40de710022406fe4e0e215ab8710f727261f3acc054298e140e7b7a |
|
MD5 | ffda5509d8a943bea13b991d8eeb240b |
|
BLAKE2b-256 | 9c530f25bf0800eb0837ce3061ec5e3b165cef11fd877bf567f0beba84e46a8c |
Close
Hashes for grpcio-1.6.3-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c4425ed5f576b9a6335211b165c75b3c72e55c8d3308e022643a9864116ce80 |
|
MD5 | 080d134565595d3639464fbb01136275 |
|
BLAKE2b-256 | 1f1b8f93718d3585a31f6301d083c554466527ef160781e47a6a211e2da6d99e |
Close
Hashes for grpcio-1.6.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c28b6b14865b9bd82589c3e5befc9132a232a97aeb3dd8d0c5d4124675b16185 |
|
MD5 | 6bf6ce5a484afbe3e7483a97c3911c07 |
|
BLAKE2b-256 | 1adb6489cc778632b695d9adbc7e0ffece98f40f62bb957ca6cf40dc92691982 |
Close
Hashes for grpcio-1.6.3-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35d08f95e5afd008e3b2f7602cd07724248674adb6e7b9cdbc40d603d15304b7 |
|
MD5 | 62f79b7c1556cf1f04665cc4c8ab20d4 |
|
BLAKE2b-256 | bb6721efceffc609a7d692114315a90d1f9090bbd6b144b07cfda27bbacb00d4 |
Close
Hashes for grpcio-1.6.3-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeb2615e56ae7c8ca58cb793709492549a703c9dc4189f5488c9a98101244c14 |
|
MD5 | d1edc2001b7527d68c356a56f139a8db |
|
BLAKE2b-256 | 2e3da4f0901ed2d2de99dce85112c3772eee3d6cf96122e29c4aeb67944991cb |
Close
Hashes for grpcio-1.6.3-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e89f27a505a0b5c41501800c2a4e534e49ce71d095b25b760e9e26ceb6ad99b5 |
|
MD5 | 80234a580e0d2924a644bfd0597b301c |
|
BLAKE2b-256 | eb2fd9132a78a19c10a9e33f0b5295af7c4c8c9b1ed8900861a5addc3250350e |
Close
Hashes for grpcio-1.6.3-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9032586fbe0efc78a1f61f64ae38212358d7d89b54f76a0099075c8c045f487d |
|
MD5 | 9426e7ac8dd26c949ad1d937f18da26b |
|
BLAKE2b-256 | 0e83b688cff396b356d2449ee1d8936dc6003bf63b4b3bcee3fff54857e9b7ef |
Close
Hashes for grpcio-1.6.3-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de13ec1a3ea978a17e2ccb52d536ce0a4c6e314f8ade104f33f11807a674cbb |
|
MD5 | 105b111e56a8d616949220d7d55a99c9 |
|
BLAKE2b-256 | e26b0f70552626d27ef0cc3dcdcb09df3c3aff5bf178ac2ce703fa252251285a |
Close
Hashes for grpcio-1.6.3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ef42200f3e185223968aea80a2fe4c50580a98460bbf018bcb51f77d2b5394 |
|
MD5 | 170ca8007352e1b205effa9db3e3bb99 |
|
BLAKE2b-256 | ad226d48421ec8f2fff933a1eb8e0b694b83bc914bfe5a1057d4290fb00a0278 |
Close
Hashes for grpcio-1.6.3-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca9faba3942fde0fe02fde3fe1b5e9bf0f1a98ce1bd1bc9f9569be02b4be1146 |
|
MD5 | dc1c68d6d9b438f36e2c49a67ed8dcef |
|
BLAKE2b-256 | 509498aecc506a9ab456d2a5fefe1ea4a8dc4ce04bce98abbfcd2a5aafe9f103 |
Close
Hashes for grpcio-1.6.3-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13f2b66ec4c4108be0f1ac78cabd9e7ea3150800131b7f46ec2ccdf73b4068f1 |
|
MD5 | eaf196187c4c8d94a05093b3e302cfa8 |
|
BLAKE2b-256 | c1f9dcdc095056aff0f7d619929cb7149921f63ca17c88e243af12225e51ab59 |
Close
Hashes for grpcio-1.6.3-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fa53c2fc7a76c6d71cb5b220acd86a1be6b81dd7099c69cbad793758a839ca6 |
|
MD5 | 71f17342e016277d6647bfa41a08aff0 |
|
BLAKE2b-256 | abcc6af908978feb144b61e7a74e59f72a09202bf8f9104f534a8bccea536132 |
Close
Hashes for grpcio-1.6.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afed679df25d2f00153ce2d9b122b2f1da7b7f400737f1ff057f36956a0aa7a5 |
|
MD5 | 59afde10152bb8c31ba097b72dd1784f |
|
BLAKE2b-256 | a57b9ef85faf3c4f390ba1ced18bcd04887cb2fbac5c6f558f9d67d8da2e95de |
Close
Hashes for grpcio-1.6.3-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab2dbdf2b945bd02830a51c023564d3c141c87ed2830852c7716363bd3714c0d |
|
MD5 | 247a6d21448aec075f1ea391f6dc9527 |
|
BLAKE2b-256 | d6e223b3eb56f5906056c6b672d0e74cbbc35104c38ce83695414c47550f5f1f |
Close
Hashes for grpcio-1.6.3-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dae53fd2d0eb57822957f247587a1331044c98c7425b9c33a9c72a677cd8ef9 |
|
MD5 | 0df488ff25943efbbd57924b9701e445 |
|
BLAKE2b-256 | a883884ba0e406e0a385f906158a983c3e148f1b3263fade1c0a1453135b9307 |
Close
Hashes for grpcio-1.6.3-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d07d1cd313bbc51033badbe44e0e88080882fe1f1960579e624984f78743b340 |
|
MD5 | e24768e65c9163f0240abbb3cbb7dd37 |
|
BLAKE2b-256 | 7acaf19018f83128176cada1fbb60c01824bec826b4754e64af8e349b20b6fe8 |
Close
Hashes for grpcio-1.6.3-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb24a090d703ab8eda0185f1a24c73c6bedf5da64b38c028b627090273d2bf8b |
|
MD5 | 07cd7f56d3478336a1fbee304299c930 |
|
BLAKE2b-256 | 1e1974e2b081e7b47d215dd478361f6e752e71d1d0b885c4e35eef7616ae1f53 |
Close
Hashes for grpcio-1.6.3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cbc8b5694c3fb37d0f38d2c96026946ce2a812d31b926b13163f77cd414859c |
|
MD5 | 5210ef65186fd0c4556defdb7ff4ce8a |
|
BLAKE2b-256 | c60b012342b45ed87959b97931c852e5fb2cefe78fa076af610fe32124ec14b5 |
Close
Hashes for grpcio-1.6.3-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43b3725074d53be3ced3e2020e27ca5226d134c17a8ec7a77f4f7d15e2fb057b |
|
MD5 | 54d87a680c87e97e4019827c0ed9fe70 |
|
BLAKE2b-256 | c0f154790ebb8129f29b7ae995c99b3b863b9438e6c8b5ff98d10481f5dc5a52 |
Close
Hashes for grpcio-1.6.3-cp27-cp27m-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82aabaa7d54a89041715c37d187a597861ee00703aa570795fa2ed582cbccbf9 |
|
MD5 | 56e339b3a0418d52cc2929de54df70e3 |
|
BLAKE2b-256 | bf118e3123ac5e15653300d0bc1781bc7bc1f8b13e0eb28b9673086271ac1d3b |