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.1.tar.gz
(14.0 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.10.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3baba420bd3b4b80108bd7be80692209c54506c94ed8d37c24e5ff5702374c1b |
|
MD5 | 3df1dadbdeb30fefa90d32dc63644c7f |
|
BLAKE2b-256 | fcb70bd1d888cfb9816c7f9218637eee4c7b799e255b61f881409c1b7d19cb72 |
Close
Hashes for grpcio-1.10.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e9a4b3f5ff2cce0f6b3f4c8a565c96ee1c0f7aec7e49cbc6f286b8efae01c4 |
|
MD5 | 4673710a48fdac89b5a0a750f41cbfc8 |
|
BLAKE2b-256 | ad832fc9e52378e582b3427c528de443f6d1c8d88d24d710da526043878119dc |
Close
Hashes for grpcio-1.10.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19cebeedac9e348ac3664d6629c2543501f80e67df5877b534e162784c5dd19d |
|
MD5 | 95b84fc3cc7a139083094044fba4760c |
|
BLAKE2b-256 | 9474f071f25d5d15fdafed173f3bcba6166969015c51e100e76cc8efa0a089fe |
Close
Hashes for grpcio-1.10.1-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 089cacca055a36aeddbea6783ffe20a5b18eafdb61215021c3e7ffe83cf95c48 |
|
MD5 | ba9786bc10ceca55d928b5f9ac04bd98 |
|
BLAKE2b-256 | 94b79a6a58439f748445ca7d41b4d46f454f22b04b5f652433c8c3f9e3c9ac8e |
Close
Hashes for grpcio-1.10.1-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2455df869859143f6ea6260abb04dc870a5da6e678dd40b638721e3efa47928 |
|
MD5 | c17dabcf91fa0126656e30c241297b65 |
|
BLAKE2b-256 | c6e4fbc1410621ed28a0d7744611684d85ce50e71c32236fe5918320585d1590 |
Close
Hashes for grpcio-1.10.1-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ab65e9656fd34c65a21f7b78affde40ec46cee53916f024f4b086140ca03e3f |
|
MD5 | 3cbb9b985010d21d89dc8ab1b8016d6a |
|
BLAKE2b-256 | 91ab59f777c421389ef571287fb1a22a57c6792c581181ca4af0c56860c55cab |
Close
Hashes for grpcio-1.10.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27011b7fadd2d1cd1b4655e8a9a0208d54f5b8c7c0869fb9387f9f8e415e0dc3 |
|
MD5 | b8f94e22894299d128981a05c5a2cf45 |
|
BLAKE2b-256 | 1d8fe6ff54fef8631d192d55a3bbf7b2e6265fc45053e3b4f91e8b5a49e3e7ad |
Close
Hashes for grpcio-1.10.1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f188a12a34058f64cfed079a560ecf4cbdd8e097787990f51dce1dcb3394b778 |
|
MD5 | 4c6b963c782f0489db0b7dd2109ecacf |
|
BLAKE2b-256 | dc222125f3f0c641e9f18695aece47ee608d5db58e62902e0a6052714395f48c |
Close
Hashes for grpcio-1.10.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2cda34bd317b80801f7d7c1a49d48fa091dbf11aa4721e8cae1a1152a36d3b4 |
|
MD5 | 0fd6eb71cabf926d2fc8eae257d3beb3 |
|
BLAKE2b-256 | 0e0a221468b7acd60aeebbc8e2c3eae74c3bab6d63734530a844609be27c6226 |
Close
Hashes for grpcio-1.10.1-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c24722f40ad9a96408b284375265806e78c0bc935fddaf86a58d58651576a590 |
|
MD5 | 84203ffe32cece34d9c38d63b8b15fee |
|
BLAKE2b-256 | 91d61b711c6d2c8fa840045175391a0cb2c6c3461a203274fad6043bea08c0a0 |
Close
Hashes for grpcio-1.10.1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87657bbdd93dccdb6fb63e23a16b3c4867fe449d79bd00a05e00da35e7fadf76 |
|
MD5 | 653bcc9c3aef973fc6cdb5b5c0a641b7 |
|
BLAKE2b-256 | 6e52070a622ced870a4ac81b0b89c45e4fa9050bc13a63ee098f988c254983f0 |
Close
Hashes for grpcio-1.10.1-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb0ba6563ec945f2df20fd9fc81035b6652d1ddcf67dad6acbaa16af1bc4d594 |
|
MD5 | 180695561a1ce6f383637ad07b10703c |
|
BLAKE2b-256 | c42d5787509627b3f70b5515407b72900f0e560d6160ea97314064c656c45fd2 |
Close
Hashes for grpcio-1.10.1-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027b93221239691815eb018b4425544a94c16c0703623236e294ca1264a6148f |
|
MD5 | d3c347c39d93987712e27872372ca1d8 |
|
BLAKE2b-256 | 6aaced50ca18e2a29ca34e82cad29c17e9db27ef53f725d93525da81c8263fab |
Close
Hashes for grpcio-1.10.1-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbbf08868d3ad4cd363fae56bbc8768927d771ba16051090457541a21a94675a |
|
MD5 | 6bc68ed9c3ec614c921ba10ffd9d0279 |
|
BLAKE2b-256 | 2fc119148e6c957e0bd2a2a59a8e17bc69557d55ebb11646f849b8d64d01ff57 |
Close
Hashes for grpcio-1.10.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45f1f34fc751a3e089e97d0974d94d56c88ce54fee07705f1cf6a862c014dd2f |
|
MD5 | 32807109c3f31be9f838520c4e0b37d3 |
|
BLAKE2b-256 | 0128b6dd5e107e0a5228c122f5edde3e5a42ded96cbf0cde198d30a3a70b06a9 |
Close
Hashes for grpcio-1.10.1-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee5d03e5bb3bf802ad23a0465698da7ee520d90a44465f83d7c22df220df6399 |
|
MD5 | c21ee35f7ced224285322833e2b8e46e |
|
BLAKE2b-256 | 232f215ef9b483c6b86d1e741c4301f142d22efcf987cebbfcebdbe7b9666743 |
Close
Hashes for grpcio-1.10.1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ba784d9b8c2c140af55fdd7598c15ddbdfa4eaef130c1b1d02d1ba900be1e5 |
|
MD5 | 75878a026b13ca700b850ffc8cc92eca |
|
BLAKE2b-256 | 03d17ce44aa62dcc343b0cef58d55824d63fb5af73709133a6fe93c5aa975ea7 |
Close
Hashes for grpcio-1.10.1-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a068a4935c365ee7c60f8d5006057cee04ef248dc1f880a8570d77ec5f5ca4 |
|
MD5 | c40f3deed6aafaa11ed15617fc8767fb |
|
BLAKE2b-256 | ff2cfe3f688776ca84ed9c163e073dde576d7a897f82fc4419fff67caa0df6e2 |
Close
Hashes for grpcio-1.10.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93418766d5519ea697ed11dd4364adf025d12a7c6e4617fab4f360f07f850559 |
|
MD5 | ce19ecc32c7e6c225123e3c6c6921bac |
|
BLAKE2b-256 | 612075ac3d6dca2880c2086c27d984de5d9583de68720f2925ee085aadb286d3 |
Close
Hashes for grpcio-1.10.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6b8da29d059bc5778d1f7e8b086a2a62024426d39165d92becd7fc112361193 |
|
MD5 | b89a5695c2d5db1c78967e73428a0ee7 |
|
BLAKE2b-256 | 7a0918fb1c6df42c9120e65467fe2caa06c598fdf764834f43ea7f97d9bffeab |
Close
Hashes for grpcio-1.10.1-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | beea2b396b1a299e1faed3813f79834dbcbbdfd0b1c2a4f7c9bb1edbd80d5aa1 |
|
MD5 | a6cf5d04e78b9e1221a340c77ccbea9c |
|
BLAKE2b-256 | 4a84df76af987fc890525f83cc6f55bdbe4d20157766b45d0e308cd0d13a7b4a |
Close
Hashes for grpcio-1.10.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2afcf625abc488f77da0b7bd753db4e0e7164966b8240c4d638361dfb8ff523 |
|
MD5 | 448bebeed68cc7f00672871dc1d04463 |
|
BLAKE2b-256 | cadd8fb8b40ef4a8fabcd8ea2cc79ffb7f43f305e9453c88b75eb08c38dc8948 |
Close
Hashes for grpcio-1.10.1-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24f28f7056999adb13e86ea9bfcbb0ef04385a6ad0e207345b385bb8f93ddb13 |
|
MD5 | 0f9a5f759c01c4c7eb2eed3679c43cbf |
|
BLAKE2b-256 | c3a8c42b8d900af7708e3aadc819a56e7d532f7a57e046866fd44f9f20445d31 |
Close
Hashes for grpcio-1.10.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f969ec8a5602e88d2efecb7d7c2a03556450865863f20a8636e24a5499a2aa16 |
|
MD5 | 65c7bab3abcdc2718d1f528ae9d52d41 |
|
BLAKE2b-256 | c2fac34445670a8f5459db58880cdd7a822baf6ce64ea7673ec80a009d763e28 |
Close
Hashes for grpcio-1.10.1-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44d7f3f47fb9aa5c6163887aee0ef1786bc82d8bd71a4c9f932d71804d7dc9e5 |
|
MD5 | 3a03eefea9bc693d578c44ea796ff39c |
|
BLAKE2b-256 | ff2cae250d32c95d0345865dc3324ca48a3722e5b50a38cc17db1a765651bb6c |
Close
Hashes for grpcio-1.10.1-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 342a2a8881737f01f064f28c2c9cbe6e4cc5f954a2ae2ab82c9d7081f3517955 |
|
MD5 | 8ea7c6c21eec3952eb019bc1693b5ff0 |
|
BLAKE2b-256 | 5138741f0d8ec15063172f0c0b8e78231fc9418786c60dbfa411c4ef224a1f61 |