HTTP/2-based RPC framework
Project description
gRPC Python
===========
Package for gRPC Python.
Installation
------------
gRPC Python is available for Linux, Mac OS X, and Windows running Python 2.7.
>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 http://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, Mac OS X, and Windows running Python 2.7.
>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 http://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.3.0.tar.gz
(8.9 MB
view hashes)
Built Distributions
Close
Hashes for grpcio-1.3.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 117288912071ab5e3c1f1ecc09e84d80f97cd75dc88b21b262892bd85db30b70 |
|
MD5 | 8ac260f1a21da7163d5328d8fc998bbe |
|
BLAKE2b-256 | 5af3d399c19c657a8a0059dbf3d14ef32eeb33873950a16fb5b0f8e7556421d8 |
Close
Hashes for grpcio-1.3.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42f00624610df63eb3f62537d8c202b204fd75dd5c91c47f669df2659840f6d1 |
|
MD5 | 23f34e7fa5583e8767d30864360ac363 |
|
BLAKE2b-256 | 57d29169a0b107f177f2dc74cce228091619b22f3da60bb9b1d24714a632698f |
Close
Hashes for grpcio-1.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c42b52aaaa4e61952dde4b8ed148d25433a84b6d5b165df4ce6e66d79bc3e81f |
|
MD5 | 42bbc97d41fa3153b51dec24e7019d41 |
|
BLAKE2b-256 | 645b679a194f7325b87e1f76ffe9397c2955f6022b5359ab3c228ec823ccb140 |
Close
Hashes for grpcio-1.3.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c25d3c3cff44c9bdf79c2aa59cc7be531a645a7aa050375d0d409813499171c |
|
MD5 | 5d2568da8f65cfb55c1a778b67fddebb |
|
BLAKE2b-256 | a6429672d820399775e766726df176cec712af0ba36f62a60b48846cce636acd |
Close
Hashes for grpcio-1.3.0-cp36-cp36m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79dea396ac7b9eb2d5b9731fc6871454fb617d72e7f5993a4c5a04c49131b023 |
|
MD5 | 49cf1065866ce37e8fe5b6e7a09590dc |
|
BLAKE2b-256 | fabef61ad9ab8d04cf7a641200ccbd5f0e4b1e8720f4aab446c6ca8d7e6a3a56 |
Close
Hashes for grpcio-1.3.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e7e6de29ece8debb92013ddf4f97614f3016b30d6e129b20949fc16d8f55d4 |
|
MD5 | 003ba273c34b7973b22b7577dfbca180 |
|
BLAKE2b-256 | 91d0b571cd69eb105f1240d1e5b96ad65d686b6b9e6b391e0e09310380a1ea59 |
Close
Hashes for grpcio-1.3.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 592efe6b8952002b7ac8cd1207e41aa46e2df0b28101c6a34e76e0e4efa9610f |
|
MD5 | e1ee43f9f9f42973d67181b904d8fd20 |
|
BLAKE2b-256 | 947d5f04ad46d675b7e43aaeb3b23b52d0cf2607e1fda9703fc33f29f8b21804 |
Close
Hashes for grpcio-1.3.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 200b89fcf445033ec8714cee2cadaa7c5d3a279aafb4154f961b987175e9880e |
|
MD5 | 175a65092b342e9dd1220f6a509d96bf |
|
BLAKE2b-256 | 28f971745f29bacca3d174b3b0547639d67f4e4da267a427e0a46ecceae73bea |
Close
Hashes for grpcio-1.3.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b1a277145e00485ce6c3347f0da4a9a0fb53f66d56d8d19d569012fd8feedb7 |
|
MD5 | 05db3800a2f5e2079fd8da19b2f67792 |
|
BLAKE2b-256 | bbfc3ca2d3ae63d99341b7d484be8c5eedff326fd688c12b5ca01c5208ac33a1 |
Close
Hashes for grpcio-1.3.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cba88718153f9e977ecb5f800c35df0c967fb57433125cdbe4433a83d033c3f8 |
|
MD5 | d46fd5914061c42e523a6a9522b8201e |
|
BLAKE2b-256 | 1be37e57cc50ece79248ba6f20d7dc5718e9099845d3b351f64022d5f53df0a7 |
Close
Hashes for grpcio-1.3.0-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca50fda97439f64c44569db2203f6cd849b4ffe61cf5920b40f2d4eb5f0993c |
|
MD5 | 782bc70f2f95e7e9e74d347c02179e67 |
|
BLAKE2b-256 | f7382996d64f0a62199dda15ffe574a206dad1ccf208a5ad92698a7b8a81845f |
Close
Hashes for grpcio-1.3.0-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe847a081277a44cf153f35a4f0f9c1616e9e0475dbb33f0975d43ef18941ab8 |
|
MD5 | ac8dd02243aad411a6b0d11fb461601c |
|
BLAKE2b-256 | 6b8f2ff64ff4957e029b8b28c1eed32fb2126e5fa1b091eb63547fc00f30ef33 |
Close
Hashes for grpcio-1.3.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eca2401e1d02616ee6087ff75c283784a35309cf87e10515f01fa0dd697a6654 |
|
MD5 | 0dc98983f9d44486ea2cf230129fd0ac |
|
BLAKE2b-256 | 1f9058cfd01d8c6e63674a1096405d952798c05274359492d16838a88c5b0526 |
Close
Hashes for grpcio-1.3.0-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99f7632d3171584b2b360b54d0a10fb185367b84204c0543c445370ef0ce5af2 |
|
MD5 | 244545e945f8134e2748fe5a859e5d1d |
|
BLAKE2b-256 | 7dc4e584e9aaa2de7938aa87a56b7b8f8106ce51e4f8db517beeee28fb9c389a |
Close
Hashes for grpcio-1.3.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a9848acca3adcd4c4b4beacd4fe09e2df0b5c50df624f763435f378f328b8a |
|
MD5 | 1f6bfebebf9d8bd831a5083b9e455e48 |
|
BLAKE2b-256 | 63ae2f1d7a8185ee29f89f6946477d8af20829b40c6762cfcf137f98718fc5a1 |
Close
Hashes for grpcio-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdca2e22db039bbfd0d44b2db09bea69adba20193d88aaf70214aaf05bb73e80 |
|
MD5 | 2b6bc9ea17e65bdf959e66cdacd534f3 |
|
BLAKE2b-256 | 7b1d414853c25a31e74ac68ecb86339ec22e2ecad539893ccdd7c72d1bd22ee3 |
Close
Hashes for grpcio-1.3.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 776a77917ce4626b7a0511b67c07668477a9583c5b2ef46a23dd77a153b7ddc9 |
|
MD5 | da6293b737a15ac0ccdc4599ae00f254 |
|
BLAKE2b-256 | 76b8dfd71f97c30e015fcb6b806f500dac4fdf844b5705290bd2088ae8a83967 |
Close
Hashes for grpcio-1.3.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d714e845797ab1a7acf7d809cfa060f23a53c185c9c2d2beccbfaf6d9a8c49 |
|
MD5 | f5b7a2208133d9be6468f3e25f70ea54 |
|
BLAKE2b-256 | fb331edbf17bd45d53d10290d6679a8e58d113c57e07d8e7d17524a1eb167d6e |
Close
Hashes for grpcio-1.3.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc8f33d982397e6623ebdd44af2c5ba0f31003aa127132bf2e6a90fe1936773b |
|
MD5 | 4dd0f393f48c5c2303595723603697c1 |
|
BLAKE2b-256 | 15b5139864357b8bbc3e79f5cf5ef3fb603d9000b9da151a07188686aee38d7b |
Close
Hashes for grpcio-1.3.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c1d6b541360c628f30c7ca9ee6f101bf487fd62bb1b8a83a460c8bd80f20b9 |
|
MD5 | d83b44565ea77a31fa9aa9e81926d263 |
|
BLAKE2b-256 | 542bf103c0716949fbc71f7a97580236f1d0a7d5bcf90e7c2bc472a904ec8f34 |
Close
Hashes for grpcio-1.3.0-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed37a6d7268e73d0fe7236ea4ff495c5a54345a36b233d157ff377decd03f819 |
|
MD5 | ab4eee380fb138fe16a5e6352f5b7a01 |
|
BLAKE2b-256 | 387ddfeb6f24ebaf3853a01b81128d32e716f825d4fedc22a2ca33a07a1054be |
Close
Hashes for grpcio-1.3.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 026732838386eb37bda4138e8343cb9ea6d3886deb5f690667feae53742d71c4 |
|
MD5 | ef2072e46b01acdf74eddc8ff749961d |
|
BLAKE2b-256 | 72c882212985d642b6217d3157ceda525a7be29f5c99e6414c013d6bd3f1f6ec |