question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

General: v0.33.0 pip install fails

See original GitHub issue

In a fresh Python v2.7.12 virtualenv on linux:

pip install google-cloud

Results in:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-3_n60m/google-cloud/setup.py", line 22, in <module>
        with open(os.path.join(PACKAGE_ROOT, 'setup-README.rst')) as file_obj:
    IOError: [Errno 2] No such file or directory: '/tmp/pip-install-3_n60m/google-cloud/setup-README.rst'

Note:

pip install google-cloud==0.32.0

works fine.

I believe it has to do with recent changes: https://github.com/GoogleCloudPlatform/google-cloud-python/commit/71e5d4bf94745580834b86c3e92ac4186c3115c0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:11
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
crwilcoxcommented, May 22, 2018

Thanks to @Avantol13 for reporting this. And thank you to the others for including additional information. The issue was that a file was not included in the manifest (setup-README.rst) and this caused the package to fail to install.

A patch version is up that resolves this install issue now as 0.33.1 -> https://pypi.org/project/google-cloud/

Also, note that in around a month this package will not install packages. Instead, you should install the google-cloud-* package(s) you require.

0reactions
Avantol13commented, May 23, 2018

Thanks for the quick fix @crwilcox

Read more comments on GitHub >

github_iconTop Results From Across the Web

'pip install' fails for every package ("Could not find a version ...
Apparently pip is trying to access PyPI via HTTPS (which is encrypted and fine), but with an old (insecure) SSL version. Your system...
Read more >
How to install modules with PIP (and fix it when it fails) - Medium
The main way to do this is to go to PyPi and search for your package. If nothing comes up, make sure to...
Read more >
Pip installation fails, CUTCLASS not found #473 - GitHub
Bug. pip installation fails in a docker container, CUTCLASS not found, git submodule update --init --recursive not executed. To Reproduce.
Read more >
Release Notes - llvmlite - Read the Docs
This is a maintenance release to fix build issues on MacOS. Pull-Requests: ... This release makes llvmlite compatible with Python 3.10.
Read more >
mediapipe - PyPI
MediaPipe is the simplest way for researchers and developers to build world-class ML solutions and applications for mobile, edge, cloud and the web....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found