Skip to main content

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 grpc

    This 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

grpcio-1.10.0rc2.tar.gz (14.0 MB view details)

Uploaded Source

Built Distributions

grpcio-1.10.0rc2-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

grpcio-1.10.0rc2-cp36-cp36m-win32.whl (1.1 MB view details)

Uploaded CPython 3.6m Windows x86

grpcio-1.10.0rc2-cp36-cp36m-manylinux1_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.6m

grpcio-1.10.0rc2-cp36-cp36m-manylinux1_i686.whl (7.1 MB view details)

Uploaded CPython 3.6m

grpcio-1.10.0rc2-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5m Windows x86-64

grpcio-1.10.0rc2-cp35-cp35m-win32.whl (1.1 MB view details)

Uploaded CPython 3.5m Windows x86

grpcio-1.10.0rc2-cp35-cp35m-manylinux1_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.5m

grpcio-1.10.0rc2-cp35-cp35m-manylinux1_i686.whl (7.1 MB view details)

Uploaded CPython 3.5m

grpcio-1.10.0rc2-cp34-cp34m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.4m Windows x86-64

grpcio-1.10.0rc2-cp34-cp34m-win32.whl (1.2 MB view details)

Uploaded CPython 3.4m Windows x86

grpcio-1.10.0rc2-cp34-cp34m-manylinux1_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.4m

grpcio-1.10.0rc2-cp34-cp34m-manylinux1_i686.whl (7.1 MB view details)

Uploaded CPython 3.4m

grpcio-1.10.0rc2-cp27-cp27mu-manylinux1_x86_64.whl (7.4 MB view details)

Uploaded CPython 2.7mu

grpcio-1.10.0rc2-cp27-cp27mu-manylinux1_i686.whl (7.0 MB view details)

Uploaded CPython 2.7mu

grpcio-1.10.0rc2-cp27-cp27m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 2.7m Windows x86-64

grpcio-1.10.0rc2-cp27-cp27m-win32.whl (1.2 MB view details)

Uploaded CPython 2.7m Windows x86

grpcio-1.10.0rc2-cp27-cp27m-manylinux1_x86_64.whl (7.4 MB view details)

Uploaded CPython 2.7m

grpcio-1.10.0rc2-cp27-cp27m-manylinux1_i686.whl (7.0 MB view details)

Uploaded CPython 2.7m

File details

Details for the file grpcio-1.10.0rc2.tar.gz.

File metadata

  • Download URL: grpcio-1.10.0rc2.tar.gz
  • Upload date:
  • Size: 14.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grpcio-1.10.0rc2.tar.gz
Algorithm Hash digest
SHA256 4cb14f72f4f387b963873c24fa2beeb7cf471dcf3cce7296563485171575ce21
MD5 56d9da2dca4887aa3b55c63210b2092b
BLAKE2b-256 77c36884256f4b1060bae4d8f8b81e99d2cf611011359ec87100f5b3745f55bc

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0c6aeb65c42a4ee8c449f6f8da86b3fa6d8b421ab6470acd1ca6487ba032b40c
MD5 ba108a143214cd4852a37b57d1a92e75
BLAKE2b-256 90ca0e867223d06bb600799908d7e967c0a7b06952770e95f5de540f189805be

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 c892658df92ab6b89160d91df2f96351f16af4b0f729a807b5e6e9ed79689d20
MD5 94aad709d6669e8f328f9b188dd2d7f9
BLAKE2b-256 05ab5bd497dd5e57f8357f9b829eee5ec1ff384f143e50ee52825e1f35dee028

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 07d6c58f10f6469838f90a7d39ab9db16b08a7ce220df8c77eeb6bb32366c2cd
MD5 82e10f6c0174f3a10163886863be03b3
BLAKE2b-256 751d88fcdf88b66b7a397280e3e27b62b9f2700c4f0f334730b676923192a3b5

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1f1f9809a4b37080dc466ac34d29ef3fab68d3f73abdf081c6b48e43ff74fa6f
MD5 93e48b0272e06273a063170552e2852b
BLAKE2b-256 4ec0b664b6ef6e64119a44d27426c94714d35859ecd651e2cea49090b3d82598

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 8272c7765adc6d55c4a7923843542a13a7138505c7b8747a0445f6e8896a12f4
MD5 43e59c016b226e4b462d0bdcd16da4d4
BLAKE2b-256 4d8fe0b7b3e2d75a743cf67dc8e57f8a7c66f9df408ae5253cc205a2de1f3ae3

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 4b29e3fa15f5285de3b5fd15d4ff12cb0d50e3f4ee39d59390cc438438b4df14
MD5 4182a257e9e51315f7870fecaa000f07
BLAKE2b-256 a383dca1171283e9fd0b3a40fd322290cc934617e03789dc63973bfc2fa055fc

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b15af0f6e503d056dec225cc6c2d67ae65f16d8bb7d77449cd182461f5858407
MD5 127042613f01a2a0c5d2edd3561c1211
BLAKE2b-256 4f77c03d7ec08455676b4c9a5d2eda6fb9ec1cfde21466d336642b41e8f2f87c

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 10118ba05289b0d448c90de0d76f1ed7e4e5d97d17c937ea82a16102fe8ade58
MD5 07daf02bc29ef948445afeb16bc71963
BLAKE2b-256 0e138d9c833033fa594a310b8064118cd07478fd5aed4d46d1a1c48e8aa1d5ee

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 f6f6284a598bae4e352191fd61ad9ae5a0df484414dc296dd6c6cd47736c379e
MD5 43427631f2c80f34ed8e65cacdb7b958
BLAKE2b-256 572bbd02f57839f4cc046c85f1f8510878538aaabe7484df56c9fc56cf7a63e2

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 62f275cdffdb306b30f7e15a2dafa5dcc5e8aa3920c54961e805d0d6c29e280e
MD5 fb2a14fb07f1ce6f4da0a17431117392
BLAKE2b-256 86be86c6dfc3480b3520cf3c6ad532927f3d25188d4df75727db928aed72ad58

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9b47266114be0528e9df41bacec472a27b5d233ee02b03d9dacedd56c52740b2
MD5 e7b5473311b01565a681e17e3335ca0a
BLAKE2b-256 101c95164b4de73084f5a899e1fb1279155afb03bd118d0f4396b03d8c940178

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 05abe1bcffa652466bc1420a42cd37945825220a145e673e9f9350f5fa629f5f
MD5 b2c1a140d21a8675c90cb193ea8f79c6
BLAKE2b-256 7d3728f34ec905a07f621e858d2c64d9db179271936acfa777060019b4991a3d

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 071102c2a2185de959a25e8444c0a6e437ca4028df5374789d538ddd1d181b03
MD5 56edd8d5ca8caa74984f1291c84a108c
BLAKE2b-256 a8ffd4570467cbd0f55092252fcac27717fa69cfecde2385d8a84ad7fc62c287

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e9b2938e36d9939df1b25aef71524106eb1a394e1faa8dc6c659b02996c17c6c
MD5 8a59662d89420b774803cd55433484b8
BLAKE2b-256 671657c03b0ef82a6a0c66881f3fa23a4bdad88eed64b620c179713d9b29ad78

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 a80d2d5b0bcb57ada93ff70f85cf8b99a7057acd89322a4b3186bfd387421e15
MD5 b78297e7c017b3ee5e38c87e01b9902d
BLAKE2b-256 497d2fc71938764c2d2aaca24269954c0ca9ae2315fc16e64d319ee00a13c9e7

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 0fe12b93be8fc9a2c7aec4c9b944d25564d30358cb1859f19ce46926f6b5628c
MD5 f00119c3eff63d6106037d9901d3cd03
BLAKE2b-256 86fddbbbfe189135ae8d046725c5d847b98db60217bc6e96a2e29f987df6a1cb

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 685fd8d9dbb2a506e98d928fa8782c463512e8df7d1138f113eee51a1ecf402d
MD5 fa45f86bea89b6201f3b9627697a04e1
BLAKE2b-256 784a9e7ae1b4eaa05a6b996ebe1e5b14f0e5e130dca772df238649f502c4a52b

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0rc2-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0rc2-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1ecff504c473110a0bf536a9c351f5bd73ce5787902b3693434db43106d32da0
MD5 fcd1d7667e5166fc20d9faa533608958
BLAKE2b-256 ac36931f63a4d5428f7c1471c2df5826ac38a6163edd739c2e034878ddf98014

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page