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.0.tar.gz
(10.0 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.6.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c52f2201c66cb1268c8255fda6f2c3460d4423441e4eca46552521e76f895a74 |
|
MD5 | 17c03197ebb858372167ec45a5600cee |
|
BLAKE2b-256 | 4ac69f6737c169c2da57d3a380bc9bcebf9ad6f042ec0563b58ee63aa9e294c7 |
Close
Hashes for grpcio-1.6.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2acd550e53eb014c1c3105dcc5dc00f679c269b3f172aa5628e9ba906c5e11b6 |
|
MD5 | 69b7b4c8d62f717d997172073cd32fdf |
|
BLAKE2b-256 | c27ed92af7f9208e049309018f7a4ac875cafd0e4e9da0f871cf8af9ec58a3b0 |
Close
Hashes for grpcio-1.6.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d90a9e1ee72b24eb4057578fdb21a97dbc11579476ee0082d46ed7b296acaf8 |
|
MD5 | a54cc1c30a94833c25f8d2da453522cd |
|
BLAKE2b-256 | dc716587de8cb2f2a5dacccdc81ae33f7605d5d5b7deca10f5c9b53f34a78a03 |
Close
Hashes for grpcio-1.6.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e5f3ab47f3b493f44286dea673e723b1e189ef03cccc0f8f8a04bfa365eefe |
|
MD5 | 3d9cd93370fdd96a59efac1ca007fa21 |
|
BLAKE2b-256 | a4ae5c7b042718b442437bcbcbaaf9875e22e3d7f6e130a953cf38d264e34495 |
Close
Hashes for grpcio-1.6.0-cp36-cp36m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88625fb02581729377a682bc2d91691fea0c578716028092ef527748fcc3eb43 |
|
MD5 | 8ea7a42dffadcd8afcaa69a00e9f7a6c |
|
BLAKE2b-256 | 10c79c2e01df551f8b83aa25d32f32db071d3fb31ee3747f64d770bbf40264ef |
Close
Hashes for grpcio-1.6.0-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71af2a67c69bd0582c73f563512f3f61593c14ec50d0815e7c7a2fdb7789b5f4 |
|
MD5 | ede9a943827be2e702bcd414f0acccf0 |
|
BLAKE2b-256 | 0822277a51cc499687ee6837606440e9e6561daf8efeedfd6a80f788e232fb05 |
Close
Hashes for grpcio-1.6.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d150f902b1620a6b7cf2d29e29821f7c6b1d580a8d40e12e5884583941e8eba |
|
MD5 | 0e8b49324248ed745a4531e223fdc411 |
|
BLAKE2b-256 | b155fc0fc99f1a358282397deaab411485766487934582f8a6ba44981ed6522d |
Close
Hashes for grpcio-1.6.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d4df455fab01a102828d049a64d2076bdf8e20a6843d55e4be4847d55f1956 |
|
MD5 | 2241fa7f2cc0a3772c26c3fd8e5c5156 |
|
BLAKE2b-256 | 1018322ec2c0c051ebc0c6129e1a4cc88ef6b76fa1ec498d6d30bf8b92b35883 |
Close
Hashes for grpcio-1.6.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70742ca5ebb6246cfa084dc97ad7ea1ef99c122bcd56aeae54edf8a0759ed11e |
|
MD5 | 4e4a87968acc433f6fe0dd513ad16c86 |
|
BLAKE2b-256 | d067cccd0e58d169cc7077425b296056b553acee7a8fe45ad8e52dce2fe66ab7 |
Close
Hashes for grpcio-1.6.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f811aa538e82566ae896b2d2801de7b6015fb1e6f3845dedf96f2275465b7d9c |
|
MD5 | d7581ee9f29ad03675c224fbcdc7ff76 |
|
BLAKE2b-256 | 60ca8c569bd0ebf8376aecd1ba97d67f41b12f453e27dabd6c99a310d9179850 |
Close
Hashes for grpcio-1.6.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb69e1ccac81578ddff619b73d5732cb1808f8760135d5432178f8ecd3a417b |
|
MD5 | 53e97f33a51002da44612c76c3b26571 |
|
BLAKE2b-256 | fc2ac4c56ab07afa05b75fed8fa56ff8458565a94deedbb96293a8873cd19b68 |
Close
Hashes for grpcio-1.6.0-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef83872a4e8f36b315df7d0d696ba9372d70fb8fb548fc1d7f4799c4a3014921 |
|
MD5 | db2d122c7a62b15c808836fd602a2af8 |
|
BLAKE2b-256 | 57069826a90139623ccb6af77499c444ee08aaacdecae21de753c2215d9407db |
Close
Hashes for grpcio-1.6.0-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9aca5b323c997f9a03dc8114d2f82bcd4aec54cc2535297f4608bb56af1881 |
|
MD5 | 4e1f3deb522a97b74dded80cca9d736b |
|
BLAKE2b-256 | 788dde974f5c3e7b8b9f4a266298ec073b2d586fd2fafa038899992bcad72eec |
Close
Hashes for grpcio-1.6.0-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 459d94a7711718ce4dca9d07e7e9dd31aea0e86adbba6e921911fde5968c271c |
|
MD5 | 1abcdea8a5fd31c2dac57261b41131fc |
|
BLAKE2b-256 | 8072d0cbd78038d53b8a8b4a25346df968bb0d82cf3cab427c3ae95523c83449 |
Close
Hashes for grpcio-1.6.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0b83f54512c65e26868920abfda81540966da4a0f44a2d89e35d4b62b2a8612 |
|
MD5 | 933e0e3e0d8d68b02b8a1953b11ad9b9 |
|
BLAKE2b-256 | 35b3a138854aa04ac3a8aea8606472d7930e80264b24033a62b34849e441d8d9 |
Close
Hashes for grpcio-1.6.0-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b512ddd36febc9d80ed289575899182f79c90e56c2158ceae60153e800526d37 |
|
MD5 | 5e363442c3a3c2551ad240cd255d21d8 |
|
BLAKE2b-256 | df14de7cda0d33ac82eae7147406f27be536522bc20eddcd6dce615ae09ec0b1 |
Close
Hashes for grpcio-1.6.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed5929ceffbdb3c763038595b181127ebfc4b641cca7d0315fe2e956b0bb40f |
|
MD5 | 4eb0e39b840c0a0e5e92814bf963daf4 |
|
BLAKE2b-256 | e1fdfd75d51fb8b0cdd5c5146616e75dd0662db0c5ca3045d16e397854113a55 |
Close
Hashes for grpcio-1.6.0-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d6d79740dfbe007e627d8b830e0ba77e9dea4601f1e011f8118043e2d0b6be |
|
MD5 | 6b3896b2ba6ba586f8a6a4cecb7cadb6 |
|
BLAKE2b-256 | 3457c7d6850eb7903899fa0efc763f12e8725b2b1c358621e55c8517b465c6b3 |
Close
Hashes for grpcio-1.6.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d6662274ff9118f75f9a447c6cd38880dd1efe4a75066b817c17d370c58fa95 |
|
MD5 | 6ca2bfd24a9f2a5b89e3c94b7c61cf82 |
|
BLAKE2b-256 | 924837e457f30c884bea56615f56b5a03e0b7194819966c4c70f474f08d331e1 |
Close
Hashes for grpcio-1.6.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd578a98fe12a3fc1aab02891931ebdef6efd2825e6d58428eb40594a9655d9 |
|
MD5 | 7f93dba8de7a80026185c48ae531ff76 |
|
BLAKE2b-256 | eef12e519831700135fe8f190b8c00cd4a997dad7a99d42f4545d8f07ba2e370 |
Close
Hashes for grpcio-1.6.0-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351de6a8b95e3350ed6c5a7c1994318af90321c42e728a90515bdfbe515c2923 |
|
MD5 | b5c17d258ffa644c7edb874ae38e5754 |
|
BLAKE2b-256 | 122634c1e0aa47963d400ab4cb29f583a8ee6dec9e6a7d51652092f002ca21f5 |
Close
Hashes for grpcio-1.6.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9712e0874e6bd438c8ea475f6dadc41fb78ecaf7b85b33858547edeaeb246e |
|
MD5 | c7357cae157b54faab4adf086bd93a12 |
|
BLAKE2b-256 | 5633a15af4e3fb2afa5d045929e0014915126ed9a729b5c906fa86a08e73c617 |
Close
Hashes for grpcio-1.6.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae75fd7848a96f64c8fdab7bdbc7071f9c0b5fe8d97879029a0d87a963d6f45d |
|
MD5 | d5a2d49d4b059d458a44c3894b9ef6ad |
|
BLAKE2b-256 | 9383dc997a26196e628a3e54eb5dfc2416e42fb1322ecd015e2407923f823464 |
Close
Hashes for grpcio-1.6.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 139b7e5328faca96a87981405bbce98dd10f5ec03dacc5cc643ad7ba8bd9efec |
|
MD5 | 90b0c3c5f302a15d5f059bde6aeeef9b |
|
BLAKE2b-256 | 57d9a9625f2c16736647686daf1a63b4ad17559c1a0c45615549e364929f9ded |
Close
Hashes for grpcio-1.6.0-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c232d6d168cb582e5eba8e1c0da8d64b54b041dd5ea194895a2fe76050916561 |
|
MD5 | 1949cfd6e62a37d30a8dd3177a83d2c9 |
|
BLAKE2b-256 | c62867651b4eabe616b27472c5518f9b2aa3f63beab8f62100b26f05ac428639 |
Close
Hashes for grpcio-1.6.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 498ec3b19f8806b8d95a6fe2b5ed347dfbb82aaf8719376ed95f2d1ac8afbd6c |
|
MD5 | de3d6f3db1e35d907631a2afb67a8150 |
|
BLAKE2b-256 | 11d3ae2f5206d3e009399a4cc793784762e708e8cee1bb4e6678f2b6ffcd5f96 |