HTTP/2-based RPC framework
Project description
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 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 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 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 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
pkg_resources.VersionConflict
when I try to install grpcThis is likely because
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: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
Built Distributions
Hashes for grpcio-1.13.0rc3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0da7351306f1cad8ddf7e9992cfaa833300abfe7af9cb3365eba460e8cb5da6 |
|
MD5 | 3c7130ed957edecd835aea7e584669a9 |
|
BLAKE2b-256 | 0c6c740dc3e4a0e714775a0868992dd0192756099a824435fe638abd0dfa5513 |
Hashes for grpcio-1.13.0rc3-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8bc01e8a538fbbbbfefc67ddd2f6e35ba3396f1f7da9665438e34af358a431c |
|
MD5 | e437f38f0642e7b994c269819522f6a4 |
|
BLAKE2b-256 | 84d76a802afa10448666f5d2d8d5642067a02fcce67627c82871d559b581f996 |
Hashes for grpcio-1.13.0rc3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5468976424dc71492156b9ac53f5633b1e766a1da0c131a98cf2cceb3cb6bf1 |
|
MD5 | 8aa94f234be5dc03b6e8442d7d98069d |
|
BLAKE2b-256 | 4a22fc274d3606b4a6ace876c27d7ac76e3339cc3e1c2bc31af9413a5033fee5 |
Hashes for grpcio-1.13.0rc3-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c88112958e7b3cbfa924162c34f2f05ae259bfc1fd5bc090594cecc9a7f24d78 |
|
MD5 | d90baa9956eb40c0f406f027f149a4c2 |
|
BLAKE2b-256 | ce56528c51c9686d5c0e864a5b3efd40562afc9bad608945f379a414aec43cef |
Hashes for grpcio-1.13.0rc3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ec74ef51f9b1a6662f918b3f0b077ab89b15710abf231198f5616b04ad69138 |
|
MD5 | a36da56d5eb033f80d0eff49471566c3 |
|
BLAKE2b-256 | 31068322830687b5c07a95c338f3c4cc863e09ecfec4531c1eda6c5cd0e5297b |
Hashes for grpcio-1.13.0rc3-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a9252b9b3b6cb4d7719a81a89ca5bed5c92e28c9f7e525d36b00063e91db2ce |
|
MD5 | 25ff067da784e519f23647f503f53b20 |
|
BLAKE2b-256 | 8633688741cbb1d5ea848f411d440055c2ce425ac842a52f4183fedf4ab57549 |
Hashes for grpcio-1.13.0rc3-cp36-cp36m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32af93cc8bfe6af9317f03fc11e55c7c16789e770980bd81926fd98f2e91051c |
|
MD5 | 35e47fb72817827d02c1004e02efb2b0 |
|
BLAKE2b-256 | 38499ce812546fe5ca082cab84c7268dc27249003f49015d4e6de7356e51b242 |
Hashes for grpcio-1.13.0rc3-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6256ad7f9f36547c1c00bee2aeb652cc4878e8b6411cff6377899e22cbf2b280 |
|
MD5 | 38bfa92becd0d210c414c8269e79c43b |
|
BLAKE2b-256 | db8c87488e90cc5cd947f4d346cea3e00f92cd946debf3cc05ee9f79d8897fb8 |
Hashes for grpcio-1.13.0rc3-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6debefcb7375beea1585a374a6bbd2f4bc02c88f3af3606569c3d8e522c8d62e |
|
MD5 | dd9aab949477f74bc378bd8922e6922d |
|
BLAKE2b-256 | 04a6079f6903fb72dd8b1a3c30fe50b7be66cbebac1b53da28a4ca7ffbffb7f9 |
Hashes for grpcio-1.13.0rc3-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ee38c50d01dee4fc6ae8d608b5fa51ff514eb9173df6a7eb5054c14988f4246 |
|
MD5 | 380de86c12fada4c6df8aba2b7278b8e |
|
BLAKE2b-256 | 6b8bdda6e408630d4e184ce50748167a2c496d3e0682fdbe4ef094b181fb34b4 |
Hashes for grpcio-1.13.0rc3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5ff5e5cc57c552fb5edac27783fd7cf0a2bb0c8845dc4fb11ad29a0d5d1c90b |
|
MD5 | 4f0cc3afda107f50412dd17bd2c1de5b |
|
BLAKE2b-256 | 2400ea911008f1a50a1e725fd672291a3da45ca8174c96693ebd14219d663fda |
Hashes for grpcio-1.13.0rc3-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a47947dd28a77aa97736bffec98004dc977437373282684048f9a434e37b9567 |
|
MD5 | a6c74d6eedb1161fa5699cab6a1ca06b |
|
BLAKE2b-256 | e462f870c870ccd58507cd52aa5d19be9e1b921b5f91ce84480a41fe23176030 |
Hashes for grpcio-1.13.0rc3-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b4f2be8fc73d22f2078177487955a24997d483c0f787b0cff26195eee612731 |
|
MD5 | 9661861f2fab9138bfb18cffec9020b9 |
|
BLAKE2b-256 | 9013507cc6e5ef466f92bd7b337092caee53ef8f3958067c080a3aa83590e3f5 |
Hashes for grpcio-1.13.0rc3-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d5b4a93306cf3c3951e4ee885627728de54e74751c06b0b06e89b11b554a176 |
|
MD5 | 8d4fdba8626d8d4abb60fc416d2fe683 |
|
BLAKE2b-256 | 3a1b915a98438c1ca7679d6b55628a170ea807bba9ad824c96f2feb8372bee1d |
Hashes for grpcio-1.13.0rc3-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92f1487d41500879b0470b5c578e3c624be7b52407962a9008e2f9462e588b6e |
|
MD5 | 9f126d0a015e3cbf314f7bb6e5e74c85 |
|
BLAKE2b-256 | 806b0ae7c29db97cd345fc261ee4b30208b0fd25c34d2838d76f9abb869b2d9e |
Hashes for grpcio-1.13.0rc3-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0828dd6eef41aec6fef39af4c77d3cf5bf12e816b44f50ad454f5370d4cc37ec |
|
MD5 | f517a250cc478d9e06b404fa44a2227e |
|
BLAKE2b-256 | 3beccdfce2859c1847beb93ca82913188a9d076a6e3d0be7cc398c5042e7c28a |
Hashes for grpcio-1.13.0rc3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ff8469d562473f33b4e1256159f28c63c0e4fffd5e4baadbbfcbc51bd95714 |
|
MD5 | 207cb47ce2579d10c20860e95e42576c |
|
BLAKE2b-256 | 5651273d6435c66d8ef865a0620bad198e5d1aacd7bd2deb5dc37e29b2b93b24 |
Hashes for grpcio-1.13.0rc3-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ef7776c6a1fdfbcf8f9e584a490946f2282cfbc584db34695517598f377b3c8 |
|
MD5 | dc8af14636a4005dca7867ee5572baeb |
|
BLAKE2b-256 | 418209d99df99a21672a7919f8dd5557eb440513907728065750493369231d8c |
Hashes for grpcio-1.13.0rc3-cp34-cp34m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc176d40211992917f0b6a3ea8f6684547e19606df42043aeddf01556506519 |
|
MD5 | 45428cbfc69131fa0098668c5c4e9be9 |
|
BLAKE2b-256 | 259c44083bb7841f39c140d39a48dad1c0ea2cf83d8b069dd123408f6ee64328 |
Hashes for grpcio-1.13.0rc3-cp34-cp34m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623218fde50d8a7b2362bfea68e3f3daf4258a909ecde323fa76f86db594314b |
|
MD5 | cb9e46d52e637733c60c91d658dadcdf |
|
BLAKE2b-256 | 1dc5ccd7b7154fc42d022563f9d13f747dc5504d6e7b3e384bd687a859b43524 |
Hashes for grpcio-1.13.0rc3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e5ddaad46f0597afa593793c6194192a993f2a419800ce731f0024a08a5fd66 |
|
MD5 | 4cc95ca57c24fe6171bad8dd32f2be76 |
|
BLAKE2b-256 | f4a2144543b85035b8b5bef7fac4cb1f0bbab8f213e6baec48e5260ae9fef575 |
Hashes for grpcio-1.13.0rc3-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 112809a21316e9043d990611709ef33a75b2f5bd819465a7f38aeac1d8c92420 |
|
MD5 | 7680cfe3e5fa525c356f155385fa0735 |
|
BLAKE2b-256 | d7df04d20d127e714162df7d4a09a68dd5bee39c5f5b3b048ea422d6c3b91050 |
Hashes for grpcio-1.13.0rc3-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0349991cb2e944f34d58a202122ef4134888a3ba68f6ed2c63e4e1f7b931018b |
|
MD5 | 12ba292a5145ce2b63c84ee824c5806d |
|
BLAKE2b-256 | ebe7bd5dc0d9390a6d3f83aa8c820aea58646b8fe9067b8388723294f69dadd7 |
Hashes for grpcio-1.13.0rc3-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ce93a31ecc898c4dd8e522dd3a7077a2c616a9018b4b061810a29a2f7363abc |
|
MD5 | 55e27f7291600bc9871f1f9724c77bb1 |
|
BLAKE2b-256 | 23f245786766fbf796a5db4b447eba307e0287ee1bf89dfdaeae135a2d4d38a4 |
Hashes for grpcio-1.13.0rc3-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 665ed0dbe18c2cea6b4751bd3811cc898644ea05040703008f18ce4578030561 |
|
MD5 | 1c06a595f9a6fffc5e032a62976590d7 |
|
BLAKE2b-256 | fb838960de68f9020e3873c69bd3d4df27aad951ba8e8421a287d0c392a96276 |
Hashes for grpcio-1.13.0rc3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 265c92f9c15fcbacc9045f22673f88849295d060a40943c6a86e5bad78f3de7d |
|
MD5 | ef7164c6774dc3e7c07959848d331d58 |
|
BLAKE2b-256 | 59d5a1a8661235adf710412c282d771987ca166cedc99c54b88955a7f7267083 |
Hashes for grpcio-1.13.0rc3-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71b1b5825d92c0e77afa784da2dc65abb7cdfbabbf1bf07f851d947230a1b416 |
|
MD5 | 5ee4d96be49cbc2fc2b6d6a9f21ce545 |
|
BLAKE2b-256 | 2213aa64fc495e722a12b044650335312b24360bb4b94f3b205abf742992d2d5 |
Hashes for grpcio-1.13.0rc3-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a93bbbfefa6c5307495237ff8dedf7d31f4404f13f0e195764d61583fce4d1 |
|
MD5 | e7a457d5db040cc44a548e740417db4f |
|
BLAKE2b-256 | 6edacabe6816cf6aa815493138685d1c83f6010fea5d8d45535c851444330ea0 |