Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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



Metadata

Release files for grpcio 1.9.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grpcio 1.9.0rc1
File Size Uploaded
grpcio-1.9.0rc1.tar.gz 10.0 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for grpcio 1.9.0rc1
File
grpcio-1.9.0rc1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
grpcio-1.9.0rc1-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
grpcio-1.9.0rc1-cp36-cp36m-manylinux1_i686.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 Details
grpcio-1.9.0rc1-cp36-cp36m-macosx_10_7_intel.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ Intel (x86-64, i386) Details
grpcio-1.9.0rc1-cp35-cp35m-manylinux1_i686.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32 Details
grpcio-1.9.0rc1-cp35-cp35m-macosx_10_7_intel.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.7+ Intel (x86-64, i386) Details
grpcio-1.9.0rc1-cp34-cp34m-manylinux1_i686.whl CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-32 Details
grpcio-1.9.0rc1-cp34-cp34m-macosx_10_7_intel.whl CPython 3.4 CPython 3.4 pymalloc macOS 10.7+ Intel (x86-64, i386) Details
grpcio-1.9.0rc1-cp27-cp27mu-manylinux1_i686.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-32 Details
grpcio-1.9.0rc1-cp27-cp27m-manylinux1_i686.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-32 Details
grpcio-1.9.0rc1-cp27-cp27m-macosx_10_10_intel.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.10+ Intel (x86-64, i386) Details

Total release size: 48.2 MB

Release files / grpcio-1.9.0rc1.tar.gz

Download URL grpcio-1.9.0rc1.tar.gz
Size 10.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2ddda5bc50d16cf2983c1986b7869912ae4c781d43eee4b6de9cbc2138182613
BLAKE2b-256 checksum
How to use checksums
c9d39eca78a95fb0496391c6f0337598e9f5dbe79c3a506d87ba8e40aa56a72e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp36-cp36m-win_amd64.whl

Download URL grpcio-1.9.0rc1-cp36-cp36m-win_amd64.whl
Size 1.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
a26f99b07d30c0055e2f3128da73590515b688b76799f724fe43106a431d464a
BLAKE2b-256 checksum
How to use checksums
298ff2776ecc87f11789fbad0d4ecff95bd1ab3b669a37aafdc17c2938d74c2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp36-cp36m-win32.whl

Download URL grpcio-1.9.0rc1-cp36-cp36m-win32.whl
Size 1.0 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
b29af63f8c50fc70f4ba234c02e318f10adcf074948844dcae3bd444027ebdf7
BLAKE2b-256 checksum
How to use checksums
832407acd2598b9a4c0991ec3b3bdec9b0d1e33824076493e1c2e7444bdaa849
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp36-cp36m-manylinux1_i686.whl

Download URL grpcio-1.9.0rc1-cp36-cp36m-manylinux1_i686.whl
Size 5.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
44d319e20b8a46026242e98c2ea39d69e28515f95a259db7b1932fada8ceb0d4
BLAKE2b-256 checksum
How to use checksums
aa6886e8f500d02450cb1246314e0a239880491b9ea61d8605dc385f1a935624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp36-cp36m-macosx_10_7_intel.whl

Download URL grpcio-1.9.0rc1-cp36-cp36m-macosx_10_7_intel.whl
Size 1.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.7+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
fa84240f0e96aeb404ebd39275e722f8253c5fce9818108e7c4b2922ca396fb3
BLAKE2b-256 checksum
How to use checksums
48d61cc3326a7cfb8d8a42c61227c1edc56a7bd5bd8be0fc89441a9414debfe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp35-cp35m-manylinux1_i686.whl

Download URL grpcio-1.9.0rc1-cp35-cp35m-manylinux1_i686.whl
Size 5.9 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
6b36f133101091b7755276152b918dcd2afd1d7e4a592691229a7467a7e96f67
BLAKE2b-256 checksum
How to use checksums
1c42a919089fc319e2e530d7530889e6e42766eecd13dba78332558dcf765cbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp35-cp35m-macosx_10_7_intel.whl

Download URL grpcio-1.9.0rc1-cp35-cp35m-macosx_10_7_intel.whl
Size 1.7 MB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.7+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
672c7cc02a0de66002e406262268822042cef5304198884983aecd4b14ecf19f
BLAKE2b-256 checksum
How to use checksums
2d86f0adbb5332a09e69c6b9157322dde98d3e0b479ac531666219d2955d2676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp34-cp34m-manylinux1_i686.whl

Download URL grpcio-1.9.0rc1-cp34-cp34m-manylinux1_i686.whl
Size 5.9 MB
Tags CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
2b5fc4511fb7e3db3453192ee112e7ec664a89464eee80b5ff6cb3c29e2708bd
BLAKE2b-256 checksum
How to use checksums
06f07d51f311d4425c16ba986385044c4ca26efde19fe4eba578b46088ae0d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp34-cp34m-macosx_10_7_intel.whl

Download URL grpcio-1.9.0rc1-cp34-cp34m-macosx_10_7_intel.whl
Size 1.7 MB
Tags CPython 3.4 CPython 3.4 pymalloc macOS 10.7+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
cb7db5cf6be46040d4941fb4cfaf5360749daef23303f5903b98478739b70d71
BLAKE2b-256 checksum
How to use checksums
c8b3083eca236d5edee437434e6f1a176f9f48424f23996e03f73305e87406a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp27-cp27mu-manylinux1_i686.whl

Download URL grpcio-1.9.0rc1-cp27-cp27mu-manylinux1_i686.whl
Size 5.9 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
7412d922616494fbe3929762db523be4edf199104ae1460d11202b93abedd5ff
BLAKE2b-256 checksum
How to use checksums
047b9cb42ceb41055dbce5827de9797861e8c0eacfc164b6accc600dd0f62d21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp27-cp27m-manylinux1_i686.whl

Download URL grpcio-1.9.0rc1-cp27-cp27m-manylinux1_i686.whl
Size 5.9 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
2ab81a3edd7dad3aa0b5df752b3d0000a9d8818154d9dec02a54f00b6713d22d
BLAKE2b-256 checksum
How to use checksums
2db404b76d2e259adaaead8b074210694f2b32cb88591c4514750373900197ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grpcio-1.9.0rc1-cp27-cp27m-macosx_10_10_intel.whl

Download URL grpcio-1.9.0rc1-cp27-cp27m-macosx_10_10_intel.whl
Size 1.6 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.10+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
070c3012587e86924f44f78cff9eb03c92ea6d0d6a215f5c0543712ce5fb87f9
BLAKE2b-256 checksum
How to use checksums
41009f1de68d01fc4a6438e6604a140cfb4cf0f303a96d79e87953ffada0ceef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.9.0rc1 This release

12 release files

1.8.6

22 release files

1.8.4

23 release files

1.8.2

22 release files

1.8.1

23 release files

1.7.0

27 release files

1.6.3

27 release files

1.6.0

27 release files

1.4.0

27 release files

1.3.5

27 release files

1.3.3

26 release files

1.3.0

23 release files

1.2.1

23 release files

1.2.0

23 release files

1.1.3

23 release files

1.1.0

18 release files

1.0.4

18 release files

1.0.3

18 release files

1.0.2

18 release files

1.0.1

18 release files

1.0.0

18 release files

0.15.0

6 release files

0.14.0

6 release files

0.13.0

4 release files

0.12.0b8

0.4.0

0.3.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page