Repository navigation
Can't pip install google-cloud ? #2298
Description
(from a customer)
Hi-
I tried installing the newly renamed google-cloud libraries via pip but it doens't look like the python repo got updated.
What this basically means you'd have to use the older gcloud-python version...which is fine but anyone going through our install instructions is in for a surprise (and a pretty miserable experience)
https://github.com/GoogleCloudPlatform/google-cloud-python#quick-start
https://googlecloudplatform.github.io/google-cloud-python/
(env)srashid@srashid-glaptop2:~/Desktop/emulators/pyapp$ pip install google-cloud
Downloading/unpacking google-cloud
Could not find any downloads that satisfy the requirement google-cloud
Cleaning up...
No distributions at all found for google-cloud
Storing debug log for failure in /home/srashid/.pip/pip.log
in pip.log
Downloading/unpacking google-cloud
Getting page https://pypi.python.org/simple/google-cloud/
URLs to search for versions for google-cloud:
- https://pypi.python.org/simple/google-cloud/
Analyzing links from page https://pypi.python.org/simple/google-cloud/
Could not find any downloads that satisfy the requirement google-cloud
Cleaning up...
Removing temporary dir /home/srashid/Desktop/emulators/pyapp/env/build...
No distributions at all found for google-cloud
Exception information:
Traceback (most recent call last):
File "/home/srashid/Desktop/emulators/pyapp/env/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/home/srashid/Desktop/emulators/pyapp/env/local/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/home/srashid/Desktop/emulators/pyapp/env/local/lib/python2.7/site-packages/pip/req.py", line 1177, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/home/srashid/Desktop/emulators/pyapp/env/local/lib/python2.7/site-packages/pip/index.py", line 277, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for google-cloud
gcloud's references shows:
https://pypi.python.org/simple/gcloud/
bug google-cloud is empty:
https://pypi.python.org/simple/google-cloud/
Activity
daspecster commentedon Sep 12, 2016
I believe once the 0.19.0 release gets cut, that this will be resolved.
See: #2270.
@dhermes, maybe until that release get's cut we should revert the README?
dhermes commentedon Sep 12, 2016
Indeed. Was planning on getting it in on Thursday but there was some pushback. If we don't have movement on it today we can make those temporary edits.
ofek commentedon Sep 12, 2016
If so, you can re-open/merge this PR https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2264 and revert it when the migration is complete.
dhermes commentedon Sep 12, 2016
Thanks for being alert on this @Ofekmeister
bjwatson commentedon Sep 12, 2016
@dhermes I doubt #2258 will be done today, so it's your choice what release you would like to cut (
0.18.2or0.19.0) to address this immediate concern, knowing that the namespace breaking change will be available in another couple days.dhermes commentedon Sep 12, 2016
@bjwatson The "immediate concern" can be addressed by just fixing up some docs / README
bjwatson commentedon Sep 13, 2016
Awesome. Thanks @dhermes.
dhermes commentedon Sep 13, 2016
The pressing issue is fixed by #2264 but we still need to cut a final monolithic release and then I'll start work in the release-by-service approach.
ryanmcdowell commentedon Sep 15, 2016
The issue of the install command being wrong was fixed but all of the imports in the examples are still wrong which will cause just as much confusion.
jorvis commentedon Sep 15, 2016
This is helpful to see. Is this why after installing the modules and following the example for Google Storage I get this?
which returns:
jorvis commentedon Sep 15, 2016
For those of us just finding this, can someone point out the proper place for an example of accessing Google Storage until the fix is done? I just installed from the GitHub trunk and the problem persists.
dhermes commentedon Sep 15, 2016
@jorvis Check out http://google-cloud-python.readthedocs.io/en/stable/ and/or https://googlecloudplatform.github.io/google-cloud-python/stable/
The README on https://pypi.python.org/pypi/gcloud is also correct.
dhermes commentedon Sep 19, 2016
Pre-emptively closing since once the tag builds this will be on PyPI. (The build has been waiting to start for 40+ minutes, so hopefully soon.)
chore(python): update dependencies in .kokoro/docker/docs (#2298)
feat: Auto-plan complex reduction expressions (#2298)