HTTP/2-based RPC framework
Project description
Package for gRPC Python.
Supported Python Versions
Python >= 3.5
Installation
gRPC Python is available for Linux, macOS, and Windows.
Installing 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!
Installing 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 RELEASE_TAG_HERE 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.32.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14c0f017bfebbc18139551111ac58ecbde11f4bc375b73a53af38927d60308b6 |
|
MD5 | 2d088a8f5ac438c411fe44b92e37d282 |
|
BLAKE2b-256 | d941be8f5e0acc98a134ac149f570d953b98a65ecf25989e63ba90fd6b7cff4b |
Hashes for grpcio-1.32.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bddf9d53c8df70061916c3bfd2f468ccf26c348bb0fb6211531d895ed5e4c72 |
|
MD5 | 22b3a51e697c74110371dfff3a4dfe9f |
|
BLAKE2b-256 | 40f30cd06aa9e8a5703c267b927ee77e807497bdd03c34677b18e9e7fbf53995 |
Hashes for grpcio-1.32.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f53f2dfc8ff9a58a993e414a016c8b21af333955ae83960454ad91798d467c7b |
|
MD5 | d843a310e643eef43b6ad6ca63c7e8ba |
|
BLAKE2b-256 | 47e2a8516f907bcb7e641f05528b3e661dbb7149ac68478e992eb86afd3cdeeb |
Hashes for grpcio-1.32.0-cp38-cp38-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12900be4c3fd2145ba94ab0d80b7c3d71c9e6414cfee2f31b1c20188b5c281f |
|
MD5 | f90e4d73e2c00eeb55d4b9ad3877a75b |
|
BLAKE2b-256 | bf8fbe5097cd0367745c6dbd9c0fbf1ee078c8b0741321a8c2640d69bb50d848 |
Hashes for grpcio-1.32.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce6f5ff4f4a548c502d5237a071fa617115df58ea4b7bd41dac77c1ab126e9c |
|
MD5 | 5de532017533ff0424d29f52f41a9e8e |
|
BLAKE2b-256 | 0d8c0a50e644e5ad68a589a0a2bcef2d49b1dc09ae6f970569cad65aad454c43 |
Hashes for grpcio-1.32.0-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9bd7fdfc0a063b4ed0efcab7906df5cae9bbcf79d05c583daa2eba56752b00 |
|
MD5 | 8db00b99fb51ba9f56aa9f6364b719c2 |
|
BLAKE2b-256 | e30f521b130f60cbe808d54f39bf68017eb8c02bd8530b85434f7b2982a00f7d |
Hashes for grpcio-1.32.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58825a3d8634cd634d8f869afddd4d5742bdb59d594aea4cea17b8f39269a55 |
|
MD5 | b47b52696f26ea1d76cb38293ceb9f0e |
|
BLAKE2b-256 | 6f587ed85d47acfe8829f32e8ce7d6c96cdf6e857cbc116b2f6b3b974cbe1529 |
Hashes for grpcio-1.32.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cda998b7b551503beefc38db9be18c878cfb1596e1418647687575cdefa9273 |
|
MD5 | f337602bda3bf7d57d759dffef243289 |
|
BLAKE2b-256 | 675fbf822211f7f94a2f6d0f8fd3bda3b804d7b24b6d5c84dbc6e6c9df4c74c2 |
Hashes for grpcio-1.32.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7947dad606c509d067e5b91a92b250aa0530162ab99e4737090f6b17eb12c4 |
|
MD5 | d2abbe00301647b7121962e9a61b0207 |
|
BLAKE2b-256 | d2e70f825fed05ab81bc7d118d8d1b3b6e3d29bf2d53c47034fed9fa3f2ede85 |
Hashes for grpcio-1.32.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e3edd8cdb71809d2455b9dbff66b4dd3d36c321e64bfa047da5afdfb0db332b |
|
MD5 | 20c7ffd3e388e054c10c8b2346b04f94 |
|
BLAKE2b-256 | 06541c8be62beafe7fb1548d2968e518ca040556b46b0275399d4f3186c56d79 |
Hashes for grpcio-1.32.0-cp37-cp37m-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b430fa68e5eecd78e2ad529ab80f6a234b55fc1b675fe47335ccbf64c6c6c8 |
|
MD5 | 1dd975580be4cfc356d9e800a974a83b |
|
BLAKE2b-256 | a5259a006d8c6e0cf9c7903f224b3fcf6ff219426645c1fcb9b5bd6e0ace4ba5 |
Hashes for grpcio-1.32.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e811ce5c387256609d56559d944a974cc6934a8eea8c76e7c86ec388dc06192d |
|
MD5 | 5990b26ecde413b8b546cacbeb7bb848 |
|
BLAKE2b-256 | 99da8dc10aab771e01937aaf10cd28d1fcf861bca48c570ee6a5cee00f7be111 |
Hashes for grpcio-1.32.0-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d384a61f96a1fc6d5d3e0b62b0a859abc8d4c3f6d16daba51ebf253a3e7df5d |
|
MD5 | 4bdd5eaf304d975dedc0ffb96f884b71 |
|
BLAKE2b-256 | d61804a0c50482cb503e56afa0bb08fbb7cd1c2bd7b27e58132cd5b2b67ed774 |
Hashes for grpcio-1.32.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ada89326a364a299527c7962e5c362dbae58c67b283fe8383c4d952b26565d5 |
|
MD5 | 30fc9d6dd5e29a706fd72c2af19d3de2 |
|
BLAKE2b-256 | 4816d229a9d7d45bafecfe6b4c9ebf2053ec929efc2ffbed0b1a89ef190ef4d9 |
Hashes for grpcio-1.32.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4396b1d0f388ae875eaf6dc05cdcb612c950fd9355bc34d38b90aaa0665a0d4b |
|
MD5 | 615392272824d913cb55d80746301115 |
|
BLAKE2b-256 | 2b55d5be63ec1f985228d4d27ef8a5d3d2381904c22318a0c046d9a76e312df5 |
Hashes for grpcio-1.32.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f3f09269ffd3fded430cd89ba2397eabbf7e47be93983b25c187cdfebb302a7 |
|
MD5 | 2c6fcb3ec9e290d189f8f18acd3569d6 |
|
BLAKE2b-256 | 3cf231eea05a3c46576c2688b3ba4e4d85f9135ba9dec010d14aff1c90dc0b8f |
Hashes for grpcio-1.32.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28677f057e2ef11501860a7bc15de12091d40b95dd0fddab3c37ff1542e6b216 |
|
MD5 | 1a7503dc3f004bfea1e03c84b84391e6 |
|
BLAKE2b-256 | f000b393f5d0e92b37592a41357ea3077010c95400c907f6b9af01f4f6abe140 |
Hashes for grpcio-1.32.0-cp36-cp36m-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec10d5f680b8e95a06f1367d73c5ddcc0ed04a3f38d6e4c9346988fb0cea2ffa |
|
MD5 | 89e0659bf58537ce2360fa7b56efd65a |
|
BLAKE2b-256 | 429d43c3257d49edf526bc2041d4a74b438c6a23691555278d60c84d9f974dd2 |
Hashes for grpcio-1.32.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4966d746dccb639ef93f13560acbe9630681c07f2b320b7ec03fe2c8f0a1f15 |
|
MD5 | 364df33d92aab99041af8b00ddf5e84e |
|
BLAKE2b-256 | bfdacc7be95506debe3b53de4afd5848bad01d2345511c1709ab8add7e49232e |
Hashes for grpcio-1.32.0-cp36-cp36m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03dfefa9075dd1c6c5cc27b1285c521434643b09338d8b29e1d6a27b386aa82 |
|
MD5 | af328cdef64c9f6f3becfa8105ffb01b |
|
BLAKE2b-256 | c244cb2be47416af1c16ac6376d581d6ecc22acd80590efbd4294e88c4dd0114 |
Hashes for grpcio-1.32.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e28e4c0d4231beda5dee94808e3a224d85cbaba3cfad05f2192e6f4ec5318053 |
|
MD5 | de4ec277784c10271e1d619ac11471c8 |
|
BLAKE2b-256 | 022f787b1ae60455f42e88969e2d1cbc7ad34c9cc3d7945e11f3d6ac9b7a8325 |
Hashes for grpcio-1.32.0-cp36-cp36m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c31e8a219650ddae1cd02f5a169e1bffe66a429a8255d3ab29e9363c73003b62 |
|
MD5 | 2c03b9045dacc121ebb494c1d894b472 |
|
BLAKE2b-256 | 474a9fe65f989964e4ad335d4aa361c158e804d34b835be22ed6497df67199b8 |
Hashes for grpcio-1.32.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac7028d363d2395f3d755166d0161556a3f99500a5b44890421ccfaaf2aaeb08 |
|
MD5 | b0ab7fc312d681c80c55034ab805e8ab |
|
BLAKE2b-256 | a7781eaaf6f3723ba08ffeefc6e355390dcd094b3bbbaa4e0103dc2157955639 |
Hashes for grpcio-1.32.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25959a651420dd4a6fd7d3e8dee53f4f5fd8c56336a64963428e78b276389a59 |
|
MD5 | f1cbdb53ca63645d5189b637e2d3f391 |
|
BLAKE2b-256 | 409c591d5a95f1bcbd3890d263adbd7b93c5a09c57f5fef285827a5502e2b5a6 |
Hashes for grpcio-1.32.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7d508691301027033215d3662dab7e178f54d5cca2329f26a71ae175d94b83f |
|
MD5 | ca47d7134d10356c91cb6d24532ceccd |
|
BLAKE2b-256 | cd4fb534139a882e5b410a35911748212cd86b3ec295deaa93cfeb3f6ec55a7f |
Hashes for grpcio-1.32.0-cp35-cp35m-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 378fe80ec5d9353548eb2a8a43ea03747a80f2e387c4f177f2b3ff6c7d898753 |
|
MD5 | 0687f41982ff159fc97a3462fd5740e7 |
|
BLAKE2b-256 | 728a406fbf31cac27a796286038411932c639d9501e9279684b72c93aa148719 |
Hashes for grpcio-1.32.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be98e3198ec765d0a1e27f69d760f69374ded8a33b953dcfe790127731f7e690 |
|
MD5 | a2326deaf86ee2dccd45dbede9ac2e4e |
|
BLAKE2b-256 | 0295aefaca7797a6d502fa66efc23e941030291213a2fb2b64da2003ed7d0b1e |
Hashes for grpcio-1.32.0-cp35-cp35m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4775bc35af9cd3b5033700388deac2e1d611fa45f4a8dcb93667d94cb25f0444 |
|
MD5 | 5c2a91ff388df481dc1ad24f0fe8f525 |
|
BLAKE2b-256 | b6aa2535a64d7f0af69c6907e477ebea9605b9efb4f14e2af96e77a6b12d4cbc |
Hashes for grpcio-1.32.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c0d8f2346c842088b8cbe3e14985b36e5191a34bf79279ba321a4bf69bd88b7 |
|
MD5 | bf463af9d8644e849bde5c0a18fe008d |
|
BLAKE2b-256 | c6e803fe1846b2f51ba1a398861344929d277363af2c10b7ac360c101f3db12a |
Hashes for grpcio-1.32.0-cp35-cp35m-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 182c64ade34c341398bf71ec0975613970feb175090760ab4f51d1e9a5424f05 |
|
MD5 | fc5d360c3b1cb145420663421fadc485 |
|
BLAKE2b-256 | 4692335c025b54e8f91098281a604a5991c3abff36715d98e3410361a6c9a953 |
Hashes for grpcio-1.32.0-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d869a3e8e62562b48214de95e9231c97c53caa7172802236cd5d60140d7cddd |
|
MD5 | 2d1919b353001d18020aa39a347f7228 |
|
BLAKE2b-256 | bce34441294974a1fa6f177c36b7f21cb67b308168388d3e5bc0d18c32c6117d |
Hashes for grpcio-1.32.0-cp27-cp27mu-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99bac0e2c820bf446662365df65841f0c2a55b0e2c419db86eaf5d162ddae73e |
|
MD5 | ac66e2bab5104c7852353a18762e4d07 |
|
BLAKE2b-256 | 5ed5fc7642eb081768cccd8d2adb915347c72e2de04efe1000f73c3225da7e62 |
Hashes for grpcio-1.32.0-cp27-cp27mu-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce617e1c4a39131f8527964ac9e700eb199484937d7a0b3e52655a3ba50d5fb9 |
|
MD5 | 25f0f230ad1acbe772a773a9c742dd97 |
|
BLAKE2b-256 | a1c522d9c05f98c369f90c07abcc717ba4b60eae036f56113c78498300649c61 |
Hashes for grpcio-1.32.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1376a60f9bfce781b39973f100b5f67e657b5be479f2fd8a7d2a408fc61c085c |
|
MD5 | 382f4162e1d82c9fe649d6d0e8b081ca |
|
BLAKE2b-256 | 76868aff8db83452dba54d1486a9ac961117c9af157d2f0880aa79fa6a8700fd |
Hashes for grpcio-1.32.0-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e467af6bb8f5843f5a441e124b43474715cfb3981264e7cd227343e826dcc3ce |
|
MD5 | b072332369aead2de0c0c3721a513c43 |
|
BLAKE2b-256 | 36f94aaf2ca5d8bb1a6402202d3e7f53a55d8b86d091489fe5ab3139717b809a |
Hashes for grpcio-1.32.0-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6786f6f7be0937614577edcab886ddce91b7c1ea972a07ef9972e9f9ecbbb78 |
|
MD5 | c2e93641c35d0aff1c7f181f18c9d8e4 |
|
BLAKE2b-256 | 7065c2e4136c161fd1e9d92c5af4e09556134deec20f22f0aee07e6c2b3cabcf |
Hashes for grpcio-1.32.0-cp27-cp27m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8004b34f600a8a51785e46859cd88f3386ef67cccd1cfc7598e3d317608c643 |
|
MD5 | 880031a0f6fff5313bc5188867b70bf2 |
|
BLAKE2b-256 | 9d0dbbd72ae475695db0876f1fb0152e29fb8ac5bdd581b7781f94a283eb9690 |
Hashes for grpcio-1.32.0-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3afb058b6929eba07dba9ae6c5b555aa1d88cb140187d78cc510bd72d0329f28 |
|
MD5 | 54c883020ebc86bd4dcd774a1aec2eae |
|
BLAKE2b-256 | b72521852786c620d570b87760021d52d11b35b61056a5d648bf640bdb0d0fa6 |