Skip to main content

No project description provided

Project description

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 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 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 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.0.1rc1.tar.gz (5.3 MB view details)

Uploaded Source

Built Distributions

grpcio-1.0.1rc1-cp35-cp35m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.5m Windows x86-64

grpcio-1.0.1rc1-cp35-cp35m-win32.whl (931.9 kB view details)

Uploaded CPython 3.5m Windows x86

grpcio-1.0.1rc1-cp35-cp35m-manylinux1_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.5m

grpcio-1.0.1rc1-cp35-cp35m-manylinux1_i686.whl (4.4 MB view details)

Uploaded CPython 3.5m

grpcio-1.0.1rc1-cp35-cp35m-macosx_10_7_intel.whl (2.4 MB view details)

Uploaded CPython 3.5m macOS 10.7+ intel

grpcio-1.0.1rc1-cp34-cp34m-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.4m Windows x86-64

grpcio-1.0.1rc1-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4m Windows x86

grpcio-1.0.1rc1-cp34-cp34m-manylinux1_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.4m

grpcio-1.0.1rc1-cp34-cp34m-manylinux1_i686.whl (4.4 MB view details)

Uploaded CPython 3.4m

grpcio-1.0.1rc1-cp34-cp34m-macosx_10_7_intel.whl (2.4 MB view details)

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.0.1rc1-cp27-cp27mu-manylinux1_x86_64.whl (4.7 MB view details)

Uploaded CPython 2.7mu

grpcio-1.0.1rc1-cp27-cp27mu-manylinux1_i686.whl (4.3 MB view details)

Uploaded CPython 2.7mu

grpcio-1.0.1rc1-cp27-cp27m-win_amd64.whl (1.0 MB view details)

Uploaded CPython 2.7m Windows x86-64

grpcio-1.0.1rc1-cp27-cp27m-win32.whl (1.1 MB view details)

Uploaded CPython 2.7m Windows x86

grpcio-1.0.1rc1-cp27-cp27m-manylinux1_x86_64.whl (4.7 MB view details)

Uploaded CPython 2.7m

grpcio-1.0.1rc1-cp27-cp27m-manylinux1_i686.whl (4.3 MB view details)

Uploaded CPython 2.7m

grpcio-1.0.1rc1-cp27-cp27m-macosx_10_10_intel.whl (2.1 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

File details

Details for the file grpcio-1.0.1rc1.tar.gz.

File metadata

  • Download URL: grpcio-1.0.1rc1.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grpcio-1.0.1rc1.tar.gz
Algorithm Hash digest
SHA256 21519bb4cedb9ea2a97629235ecd9493141481c62f0c9ef5e913be70ba38b700
MD5 c36399d38f3dcf71612ca9ae4f498784
BLAKE2b-256 b8754794ca1250119768ffb8351a5b33a8621800dcd5b06a1453f6ffe2add83b

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 e185d681e125535a96d02aba280e241594401d656c1707d0a384175dd5e26713
MD5 c43f6bcdb94eb648a74b1e16a21bdac6
BLAKE2b-256 f3990d4f8ff7693c7f13dd93ab285767c833673541b3b84bdce7adb4114a8dda

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 2935fb8ef76bdeb501a63c97f499a6cdc2d4d20fdc1436ee9d79819419defdd4
MD5 0d61abf20cb5a503d6e886ea57d963e8
BLAKE2b-256 9c69b4d7d1808ee2e31c42f52d8b44652e701323a99434fbfb4a434174578271

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f60b1e721d5506f15ef4d71c791842cda1399bbe0406fb637605f8dc8bc26672
MD5 64315c558c75c11bde2a9ad17249b16a
BLAKE2b-256 8d5af09975ab5aa78a17d5725bb16099fa2accf43b207d9d7447a9261c36a310

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4b87b0aa28d6734b21c426479ff825a80fcd4b8b767f4139b3578062e89bb3e0
MD5 85b080f90e680f400130f85aa6dc79b5
BLAKE2b-256 5b74f071be027015cfe088f3f67d9d80bdf18829d9650d6d7495697233b16d7d

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp35-cp35m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 a8844c07be34e927f5b415a8cb0e9f09770b05388364104ddd308098dc4acc84
MD5 8524a703d710e3346f8251a0ae874186
BLAKE2b-256 ba9cc21281eb50cd13427908ef981d7173c1bc60b94adcdaeb7160812f4d18a2

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 bc5f7a5372cbfa9c2925b0ad4b0b9a0dce1b8acd7bd3092e3a755ed5d4f3d405
MD5 c34b06a3bf7b4af45b5a551e308f2937
BLAKE2b-256 4aa4b16908cba5bfab7be473ce986f79bf01e149ec186a63d609927737a9273a

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 70d9a7bc6fed112f3bfc9743f14b456c8d1439b5a59d5346d399dbe9918e5caf
MD5 5edeb6d3e8cf7934d015142390c2b41e
BLAKE2b-256 e5fa488804faeeb89f2f3fd77200264e04931a017e075942d76be44f7a868ade

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4a344e65caa2c57e3948b7c265fa342ee9eb5b9fa4bd7b0e926e235e38a43406
MD5 a8b522bae228cb418da7ca51f3e344c9
BLAKE2b-256 56c33f17924ba245555258c5912b4d0703f42e19a4d7b3821cf005fa38fe9777

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9990a1110b1fabd883e7e810275edc991b9d3043f1f1a6144d9adf485e600f8d
MD5 a7159a9fbeaba46a2fe36f85917995e6
BLAKE2b-256 5c79cefa1cc26872c5de3cf82675bdb08322399238a11f29c5f6f46c913d53ac

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp34-cp34m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 afacc9b1207c064ae8d88c3b280d8d9e60ccf68c017c46cd318aeab3908159d6
MD5 59875182956fb40e001b4bf1f44944c7
BLAKE2b-256 9bc808e4f4431cd87c9a798437b1007a186436b548633cdba190eee528259d2c

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 72593e229043557773ca44395299fea57676fe241c2c83b87e461ac699bf1ba5
MD5 7e530b7e90199211c04c5d49a4821409
BLAKE2b-256 60a3bb76f714633ae03b7e79363d9bc263223f5ebb5b4bfa02bf8793e779a401

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7133960786548263973ec6d09f71c7dd11d32bae60bce0c4fbf41a752a7d7268
MD5 98fed00a2a2149fda7627f9b083ee631
BLAKE2b-256 0ad0a92c8b3a792e946d95f83f64c0d8ead4e3bb40ac71e3a9c5ecbf57758e64

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 22920c91655546b56e017aa696d6d93a8f8e838588bbd38ef3e0907968556d27
MD5 7ebd2e280506b6cd50e4a4efab18c639
BLAKE2b-256 c04259b856b4e15178bc8b0d49282e33aa9ddbb83ea1a82938005525462161fa

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 19c101c8cad9e7491044f28976c58e999ac324c4a67f2567480bcdac5abadea4
MD5 9819799ca01648d5278bab572960791a
BLAKE2b-256 d1124086495230f0bffd283bf8609b9e61f854a9e2bbdcf5204e2c1e1726253b

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fb2ac20e9b2508256810a33104cb2f27f91ab46ae4271dcce96d4b17bcff4da5
MD5 45164bba0d8409522bb92c5963a71a69
BLAKE2b-256 1577dae3078d31628d5c73952b523577e5196a1b8a1d8466c77476224a1d4b74

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5e69c3444322df03a94a0615df1252cbbb66c851db37f86c18edca690753731a
MD5 5af0bb482959838373e6e2441503e378
BLAKE2b-256 5f0ff6607c6ed8490712e6121e228110b65da9a2cff001f54b447116ef071d65

See more details on using hashes here.

File details

Details for the file grpcio-1.0.1rc1-cp27-cp27m-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.0.1rc1-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 978baad267deff84bfbd0dc7cc5a536c24e1376106bca972593359691260d677
MD5 41f8107435bd484497ae9e17a31863f6
BLAKE2b-256 6959875c1f3d70be2c757c409d5d87e449c7edfe4ea46fddf4e6f5f3a26a2d55

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