Do we have to install "google-api-python-client" library to use this or it will be self-contained library in the future? Currently I have to manually download oauth2client python library from "https://code.google.com/p/google-api-python-client/" in order to properly use gcloud-python.
@cnbuff410 Have you installed gcloud-python using pip install?
@silvolu So pip install will automatically resolve all dependency?
Unfortunately I'm using this one on managed VM, and currently "pip install" is not supported I believe. Only "apt-get" is supported.
@cnbuff410 can you apt-get install python-pip ?
This is not the new Dockerized runtimes, he can only provide an apt_get_install option as a part of his app manifest. https://developers.google.com/appengine/docs/managed-vms/config#vm_settings
The new Docker based Managed VMs will solve such problems though. You will be able to wget/apt-get/make/install anything that runs on Linux kernel.
@rakyll Ya looks like the Dockerized runtime is not available for Go though. My project is actually a Go app with backend being mix of Go and Python.
Is there any estimation on when the new runtime would be available for Go? Really want to check out the Dockerized thing. I think really once it's available it gives me all reasons to switch all backend stuff to managed VM.
looks like the Dockerized runtime is not available for Go though.
True that it is not available at the moment, I can't give estimations but can say they are working on it actively.
The 'setup.py' for gcloud-python correctly declares its dependency on 'oauth2client':
AFAICT, this bug is about a downstream / packaging problem, and should be reported wherever that process is managed, rather than here.
Is this actually an issue? (I found it looking for blob issues.) Can we close out? Seems apt-get was failing?
Not our issue I'd say.
TRY THIS:
pip install --upgrade oauth2client
In virtual environment it will not work, unfortunately it is working outside of it. Try installing through
pip install --upgrade oauth2client.
updating the oauth2client worked for me...
Run this
sudo python -m pip install oauth2client
In virtual environment it will not work, unfortunately it is working outside of it. Try installing through
pip install --upgrade oauth2client.
Can somebody explain why it doesn't work with the virtualenvironments? It should work right, since I am installing oauth2client from pip in the virtualenvs packages and it shows in pip list , when I have the virtual environment activated.
Most helpful comment
TRY THIS:
pip install --upgrade oauth2client