GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pip install gcloud is broken :( · Issue #1304 · googleapis/google-cloud-python

pip install gcloud is broken :( #1304

New issue
Copy link
New issue
Copy link
Closed
Closed
pip install gcloud is broken :(#1304
Copy link
Assignees
dhermes
Labels
packagingtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@jgeewax
jgeewax
opened on Dec 17, 2015
Issue body actions

Looks like installing gives some proto errors on fresh Ubuntu 15.10.... can we fix ASAP?

jj@jjg-home:~$ virtualenv test-env
New python executable in test-env/bin/python
Installing setuptools, pip, wheel...done.
jj@jjg-home:~$ source test-env/bin/activate
(test-env)jj@jjg-home:~$ pip install gcloud
Collecting gcloud
  Downloading gcloud-0.8.0.tar.gz (244kB)
    100% |████████████████████████████████| 245kB 1.5MB/s 
Collecting google-apitools (from gcloud)
  Downloading google_apitools-0.4.13-py2-none-any.whl (122kB)
    100% |████████████████████████████████| 122kB 1.1MB/s 
Collecting httplib2>=0.9.1 (from gcloud)
  Downloading httplib2-0.9.2.tar.gz (205kB)
    100% |████████████████████████████████| 208kB 1.3MB/s 
Collecting oauth2client>=1.4.6 (from gcloud)
  Downloading oauth2client-1.5.2.tar.gz (56kB)
    100% |████████████████████████████████| 57kB 2.8MB/s 
Collecting protobuf>=3.0.0a3 (from gcloud)
  Downloading protobuf-3.0.0b1.post1.tar.gz (200kB)
    100% |████████████████████████████████| 200kB 1.4MB/s 
Collecting pycrypto (from gcloud)
  Downloading pycrypto-2.6.1.tar.gz (446kB)
    100% |████████████████████████████████| 446kB 1.0MB/s 
Collecting six (from gcloud)
  Downloading six-1.10.0-py2.py3-none-any.whl
Collecting protorpc>=0.9.1 (from google-apitools->gcloud)
  Downloading protorpc-0.11.1-py2-none-any.whl (134kB)
    100% |████████████████████████████████| 135kB 1.6MB/s 
Collecting pyasn1>=0.1.7 (from oauth2client>=1.4.6->gcloud)
  Downloading pyasn1-0.1.9-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.0.5 (from oauth2client>=1.4.6->gcloud)
  Downloading pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting rsa>=3.1.4 (from oauth2client>=1.4.6->gcloud)
  Downloading rsa-3.2.3-py2.py3-none-any.whl (44kB)
    100% |████████████████████████████████| 45kB 3.2MB/s 
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./test-env/lib/python2.7/site-packages (from protobuf>=3.0.0a3->gcloud)
Building wheels for collected packages: gcloud, httplib2, oauth2client, protobuf, pycrypto
  Running setup.py bdist_wheel for gcloud
  Stored in directory: /home/jj/.cache/pip/wheels/b6/68/f5/2793d54238f36f034c170e231252b7113a1410d6baef7ed203
  Running setup.py bdist_wheel for httplib2
  Stored in directory: /home/jj/.cache/pip/wheels/e1/a3/05/e66aad1380335ee0a823c8f1b9006efa577236a24b3cb1eade
  Running setup.py bdist_wheel for oauth2client
  Stored in directory: /home/jj/.cache/pip/wheels/79/9e/56/e82aa05430ac46bd675b90e030d09d567cd29a524ff9ce1a67
  Running setup.py bdist_wheel for protobuf
  Complete output from command /home/jj/test-env/bin/python -c "import setuptools;__file__='/tmp/pip-build-GzHddN/protobuf/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp_fhLv_pip-wheel-:
  running bdist_wheel
  running build
  running build_py
  protoc is not installed nor found in ../src.  Please compile it or install the binary package.
  Generating google/protobuf/pyext/python_pb2.py...

  ----------------------------------------
  Failed building wheel for protobuf
  Running setup.py bdist_wheel for pycrypto
  Stored in directory: /home/jj/.cache/pip/wheels/96/b0/e6/03e439d41cb2592b5c4c9c77873761d6cbd417b332076680cd
Successfully built gcloud httplib2 oauth2client pycrypto
Failed to build protobuf
Installing collected packages: six, httplib2, pyasn1, pyasn1-modules, rsa, oauth2client, protorpc, google-apitools, protobuf, pycrypto, gcloud
  Running setup.py install for protobuf
    Complete output from command /home/jj/test-env/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-GzHddN/protobuf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KIaR6V-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jj/test-env/include/site/python2.7/protobuf:
    running install
    running build
    running build_py
    protoc is not installed nor found in ../src.  Please compile it or install the binary package.
    Generating google/protobuf/pyext/python_pb2.py...

    ----------------------------------------
Command "/home/jj/test-env/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-GzHddN/protobuf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-KIaR6V-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jj/test-env/include/site/python2.7/protobuf" failed with error code 255 in /tmp/pip-build-GzHddN/protobuf
(test-env)jj@jjg-home:~$ 

Activity

  1. jgeewax
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    packaging
    on Dec 17, 2015
  2. jgeewax commented on Dec 17, 2015

    @jgeewax
    jgeewax
    on Dec 17, 2015
    ContributorAuthor
    More actions

    /cc @JustinBeckwith

  3. jgeewax commented on Dec 17, 2015

    @jgeewax
    jgeewax
    on Dec 17, 2015
    ContributorAuthor
    More actions

    /cc @dhermes @tseaver as this is kinda a blocker :(

  4. dhermes commented on Dec 17, 2015

    @dhermes
    dhermes
    on Dec 17, 2015
    Contributor
    More actions

    I filed protocolbuffers/protobuf#1056 yesterday. The protobuf folks made a busted release, no idea why.

  5. dhermes commented on Dec 17, 2015

    @dhermes
    dhermes
    on Dec 17, 2015
    Contributor
    More actions

    Updated setup.py in d11980f to pin on protobuf==3.0.0a3.

    You can get it installed by installing protobuf first and then installing our library:

    pip install protobuf==3.0.0a3
    pip install gcloud
    

    We need to cut a release soon anyhow, but you should poke someone who works on protobuf to look at that issue.

  6. jgeewax commented on Dec 17, 2015

    @jgeewax
    jgeewax
    on Dec 17, 2015
    ContributorAuthor
    More actions

    Got it -- can we pin to <= 3.0.0a3 in the meantime?

  7. jgeewax commented on Dec 17, 2015

    @jgeewax
    jgeewax
    on Dec 17, 2015
    ContributorAuthor
    More actions

    ....aaand I just finished reading your whole comment. Ignore me :)

  8. dhermes commented on Dec 17, 2015

    @dhermes
    dhermes
    on Dec 17, 2015
    Contributor
    More actions

    Already updated setup.py (see above) but it doesn't change existing releases

  9. dhermes commented on Dec 17, 2015

    @dhermes
    dhermes
    on Dec 17, 2015
    Contributor
    More actions

    Haha ditto. Like phone tag

  10. jgeewax commented on Dec 17, 2015

    @jgeewax
    jgeewax
    on Dec 17, 2015
    ContributorAuthor
    More actions

    Got it -- sent a request to someone on the proto team who hopefully can help sort out protocolbuffers/protobuf#1056

  11. dhermes commented on Dec 31, 2015

    @dhermes
    dhermes
    on Dec 31, 2015
    Contributor
    More actions

    This is fixed now.

  12. dhermes
    closed this as completedon Dec 31, 2015
  13. vijaypalmanit commented on Mar 3, 2017

    @vijaypalmanit
    vijaypalmanit
    on Mar 3, 2017
    More actions

    still not resolved for me, although i followed the same steps

  14. daspecster commented on Mar 3, 2017

    @daspecster
    daspecster
    on Mar 3, 2017
    Contributor
    More actions

    Glad to hear you got it working @vijaypalmanit.

    Reference: #1570 (comment).

  15. JustinBeckwith
    assigned
    dhermes
    on Feb 1, 2021
  16. parthea
    added a commit that references this issue on Jul 6, 2023

    Auto-update dependencies. [(#1304)](GoogleCloudPlatform/python-docs-s…

    f8f9eb7
  17. parthea
    added a commit that references this issue on Nov 24, 2025

    feat: adds LRO mixin. (#1304)

    e5b8417
  18. parthea
    added 2 commits that reference this issue on Mar 6, 2026

    fix(deps): allow pyarrow < 10 (#1304)

    bc73d6b

    chore(spanner): Update CODEOWNERS (#1304)

    b4103f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dhermes
    dhermes

Labels

packagingtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.