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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.5m Windows x86-64

grpcio-1.0.3-cp35-cp35m-win32.whl (932.1 kB view details)

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.7+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.7+ intel

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

grpcio-1.0.3-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.3.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ce7f266997aba49d2ff31369ef48ff51220a3b3a4580438bed57a188a810858f
MD5 639c58f5200cb826a4aa966da946dd8c
BLAKE2b-256 d281820772464758c9882b075024126b1bcc459e7f55864ae8bd3302020835b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 dd902d401a068ca49de36d712a777d2043e1579e6565dda47c19c86418d21956
MD5 80430458a7143f673b498ddc8d3f1125
BLAKE2b-256 105749d020ab7ca97c1aa1ee60c882dac20acbd54a0e99c099bb518666b18aee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9be7fda14fb31016fd10aeec91b0fdeaeb2956424639ad0d35f752b64291d5af
MD5 cafbd4de9f4d8f0c52566a0a23c84ad8
BLAKE2b-256 8ff6acbd023231910b978785421120863a5988bb3052a05388d813d9795942a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eaed0405c8b66a58f2abc773331f1ac366cf8d816f891e490f71881bd2476243
MD5 089a37762672903c7ae85d711999349f
BLAKE2b-256 67e11bee3cad5b34721e2d0070344adfac513c43b170acdd58f1957c702fcd13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 9dc6733eeddc5ea4799cd43a2c88cc385eedf8abd07ad6b439928f63411c5610
MD5 bf98f40be1a2a31891b451cdd7ea3cd6
BLAKE2b-256 d91a14f6fcef1bbf96498482af20f2c95c3c0ded409c67fd3f15067d84999570

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 f89ce65d98954d12f11738edd1b2efe891b926c9a83b4e031d99f02d2004ce7c
MD5 edaab20a8177f8d61c80287f0256f849
BLAKE2b-256 93c5f9df5fabdfa13f77f79d8830585c3a27beacbfc7134f7705a0c6a8241ffc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 808d4f8afb292ccee590b7006b66dae78d0fa8d9cf418589264216d001fda74c
MD5 df7a6e22c1597f554de3992c8f20208e
BLAKE2b-256 32181e66140515330f0b8611f6a2c06a4528d56b0565f39212e43df880c0e6e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 2778d44cd9c6194e813b5b75a13a16fa1fa1ed6b78b5adfdef1a23f068f1203d
MD5 c1cff49e137463bac3f429eee04075ac
BLAKE2b-256 2c53f6addc51f80804b8718a0780f1189951908595ee648c79b51a47bf7190b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 19cb5c9cf5863f6112fd39184131d6e658bde6200ecaf8079807e132c5d5b9bb
MD5 faa4d23f19f66fcf5161cec4c62681df
BLAKE2b-256 2625d78c1d30f1fa15ab8447c29018f6a27027d8869fedb336be34932b8c64b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a2ea464791581e718054d19952ad9f0c1c78a3c67ca9c4835dabd73b7cadbe39
MD5 32e03e864538c78fc3a46e2bc118dc4a
BLAKE2b-256 b62965fd025cb89596288b307381ccd69c8354d11c94b8363b416a5b400f580a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 ee650f37dc6130334c5edd9326667460204c445e7d3bc85a6bd1563528045b3d
MD5 4fd87752752cd42391f6ce76985fcfe3
BLAKE2b-256 3960e6ecd5b23f19e981b3d7a2926705913c17d716884d1adf5743cda89d2f93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3a7cc34f1659919533fe534186445d0add3de2d43fa021f2f92ca856d7396b9c
MD5 f05a13765107c0f797b6189865c1af05
BLAKE2b-256 7dba0b49c641b60388c8172ae456cbfdd893f334f55acdd33794bd490f4eae24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 04722d4907cb36d52362d3d88c2254de278121b251c617fd1ec1e89bafcaefd2
MD5 4baa62f273d86ca80aa8c06380dc09f3
BLAKE2b-256 b807707f26ee5764cf1af1f8a0f074fe490a6d72df4526cc024e28fd50e39bf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 d3f7be4da5df498fbd8bf3a10fff7b9f1414a9ed4ba9003031b1173d02ef35cf
MD5 f5eb0659a284ebeddd9893479bf28f9d
BLAKE2b-256 6ac75c499abfe3343cd7f3d437ca7b4b6a90f0ae6664ecc84ff213b2721ef9af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d32260171c9ee8d195c863a0bd71e20aeae98b181e5382c2e1a997597ee10b3a
MD5 2e50719780c3d446642370941c5c0588
BLAKE2b-256 ac67605161d9ed728b24cf5b8090fc88f1c32ea8aa1f7e303915edfac0bdb8d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b2c28d250a9a2cd09c90f7bbd4284b34c08890384e5caedc686ed4e6cba14a79
MD5 397194628235d5d922fa26f3a7db674a
BLAKE2b-256 c50035b4bef4114d896fcd8b0d34ae7da8b2267c2a888b3096e4d8f92dd409e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ef1d647f9b4c3579f75ee31a6a1f18e765e22ef087647833d71776765725b3ef
MD5 263eb044fc8247fe781e5d4f9e07d480
BLAKE2b-256 744db6fbf0c320092ab71d3708804b820e6d5efcb44c64913e94e5ba873d11cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.0.3-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 8ac4e340dd31cc26fe6856ee432f876fb590536a4fefeda4965aa59bfd31a5c8
MD5 338750ce63e9d6e98fc6ec32a7ee14c0
BLAKE2b-256 cf076bc97bd9cba73569bf12184f61f69cf87f9707ef8f98662da8b915a23df2

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