Skip to main content

UNKNOWN

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.1.0.tar.gz (7.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

grpcio-1.1.0-cp35-cp35m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.5mWindows x86-64

grpcio-1.1.0-cp35-cp35m-win32.whl (989.5 kB view details)

Uploaded CPython 3.5mWindows x86

grpcio-1.1.0-cp35-cp35m-manylinux1_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.5m

grpcio-1.1.0-cp35-cp35m-manylinux1_i686.whl (4.6 MB view details)

Uploaded CPython 3.5m

grpcio-1.1.0-cp35-cp35m-macosx_10_7_intel.whl (2.5 MB view details)

Uploaded CPython 3.5mmacOS 10.7+ Intel (x86-64, i386)

grpcio-1.1.0-cp34-cp34m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

grpcio-1.1.0-cp34-cp34m-manylinux1_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.4m

grpcio-1.1.0-cp34-cp34m-manylinux1_i686.whl (4.6 MB view details)

Uploaded CPython 3.4m

grpcio-1.1.0-cp34-cp34m-macosx_10_7_intel.whl (2.5 MB view details)

Uploaded CPython 3.4mmacOS 10.7+ Intel (x86-64, i386)

grpcio-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl (5.0 MB view details)

Uploaded CPython 2.7mu

grpcio-1.1.0-cp27-cp27mu-manylinux1_i686.whl (4.6 MB view details)

Uploaded CPython 2.7mu

grpcio-1.1.0-cp27-cp27m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

grpcio-1.1.0-cp27-cp27m-manylinux1_x86_64.whl (5.0 MB view details)

Uploaded CPython 2.7m

grpcio-1.1.0-cp27-cp27m-manylinux1_i686.whl (4.6 MB view details)

Uploaded CPython 2.7m

grpcio-1.1.0-cp27-cp27m-macosx_10_10_intel.whl (2.2 MB view details)

Uploaded CPython 2.7mmacOS 10.10+ Intel (x86-64, i386)

File details

Details for the file grpcio-1.1.0.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0e614f116aaa0737954f312d93af384cf8122a38dad192a9bc54e92ad624b206
MD5 d7155e7e89993f20d1b9a31c0bfbc95a
BLAKE2b-256 f5d6926ca14ef469c744119ee5dd10784cb9bfc88f165de46616e6c82386c304

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 22dcd3f73ec3dd7f9eef5fbb813d4219e6d8f6b4a3749b6b3e00b39450bc2007
MD5 9ab228bd6d6678006b5237b691b03fdc
BLAKE2b-256 135dbb008a8f0cccc535c950d3a1ab307135ba9623a599f5561cf199746fdcc6

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 4aa9a1772e344c67798299c818c7e04ddca7a3bb69e96ba3db0305260c979acb
MD5 5957418ee82311296880713f3b45bac9
BLAKE2b-256 f1086b4090397571772a8a494ed49ff9646d124012be064e247f0a6f8813e840

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 204dc52c448cf6bb086baf809617adfe7b23abad4b6fa2f25c96903088a773b6
MD5 ea2ca0ffdbf7f3b60028f147685ea2f9
BLAKE2b-256 0934f2a06cecfba399de38b790670da2d9960b18646a6891bc8609f97f110808

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c3f63edad0b21239a1c9e73a84607c0ad3f9db6edc74bb5398d556df3002b1a1
MD5 f530a3c4f8d2789dcc04a470113745f0
BLAKE2b-256 e6e7e51999607c61750e70293bff34abf0f9a565c3a355d788701e2bdf8871eb

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp35-cp35m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 bb1d340e0ae14e1d126fc1d28ba23faab6b4b5fe45c32885f62d12991f3a29a3
MD5 5240768cb1bd34975af9dec709e8b45c
BLAKE2b-256 0395523ef2a740886502f6547276377fb0987a82ad675523f84cd1846bce214d

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 e9e849b7a0da33b9c2074e480ddf5678422cc9571b211aa75e1ffc8c7c3aa84f
MD5 721e07a679e837647ccf8f0044a1f7c2
BLAKE2b-256 2139ce37a1789d657a53eb91b7ee3a176952e7064190bf58a9e1fd1844051ec8

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 50e702c797594d2e13b1709f60880395e009df12228521c89c189ae4dc37427e
MD5 fa34878ffe2047d4752bf4d5d3f8241d
BLAKE2b-256 f853435a551d51052d49c02cff28c7d10186298129d08bed2923205188256852

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 616cab03439f844de444cec2f701c3c45642c20b59d130b20fb8e540ab1fc6a7
MD5 f8ff502f676b1ca5493cea83909b7ec5
BLAKE2b-256 bc099fbdff4318c9aff4cce4c2ae95caa98b609f400cf5bd8092f14221c83bf8

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6715cc6e692644df646f31bfedc32cabd47320159eaa01c1ab97dd2af3145a36
MD5 4368814bf72a0339597da1acd0eb79f4
BLAKE2b-256 02e138aa19067403a20749072a6d75b7ac30a7af61071f231ab576ea2ab524c0

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp34-cp34m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 a226d5ed847c720489b9da5df4edd7ac84c2b1c6e7a253ae1aed1ba8a62bf127
MD5 9a2cf169f4d5ccc5adc16645aeda5663
BLAKE2b-256 e9d1dc004ad38e1060176f2b2bd661704bff56ad42bff4ca30ccf2bc91abc589

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e6d38ad955e39694b52310212d56707e70fc80b3507a60be2d85b9f82eae1db6
MD5 31398e9e19daa0920455d9c5833fc0b8
BLAKE2b-256 215f7b4ad15652fb51c6de1fbfdbc1f589538958f3b2f4e84688f34df890813b

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1f57bc954161e128a5687448df3be2f509dbd004a880b49ac5893b17adfb2f58
MD5 bdb3f3b53a4f5c2cc799a3b5d2814ba1
BLAKE2b-256 188ae81b9870af298083552220dad6d5841b16ce23ef2dfef292f23bae6cf4b5

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 95497272cf7d72a2bae5910b2d484e16d0651594613c9e5962b2108c6c0ffcda
MD5 b4e5d0157af3431448b78c8e45bf8f7f
BLAKE2b-256 3f6c82c352553bac0d8aae58063e2de9387b2c56954fe80b6cfa533c216b3876

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 8f0a4da76e6029c74e7e9936933ff3241c0e63b019dd9f54546d2d1e07790d63
MD5 ed7861ceceb0c3211bf371c825e3a35d
BLAKE2b-256 f5bab97771131b2c51b8d1c2d1d274d6184e347f84aa9a4e6018164920f43704

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0fb51f393ca64ac14f65b2a42b4da26f6c52fbb2d5671ec2a1b34bd61f09e06a
MD5 8f9b8faf6b4642ca8455cf1da71ae7eb
BLAKE2b-256 f96c36ec3423c23a0f61a3dfcee9ad50c14c4dcaba09867e0ea1f956cb6299a7

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5079983cf2c93679d9ea38d18c7ebf4d054d554475d2493445c70da7fbb9554c
MD5 66a0a474df95c378d9dc54c93ca95b2f
BLAKE2b-256 04ccd769f02dc8fde499dac3e0a6a42f4c57ab512b243df7cc01f6bf9ebd4943

See more details on using hashes here.

File details

Details for the file grpcio-1.1.0-cp27-cp27m-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.1.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 3b17bfaf57e92c6649a8f9240ce2755e51db6e52c51d8a63c7debc504f0def1d
MD5 5a64a9053c4a18ece20622bc4ed43a4f
BLAKE2b-256 ba8a8ed2b9929ab94db9eb4b8364433290b331adcdfdec261222adb5c8d8a174

See more details on using hashes here.

Supported by

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