Reputation: 333
I'm trying to set up the cloud storage client libraries so I can store images for my gae app using python. I'm following the instructions here:
https://cloud.google.com/storage/docs/reference/libraries
Unfortunately when I import the storage module:
from google.cloud import storage
something goes wrong saying:
ImportError: No module named appengine.api
Is there a way i can check if I have appengine.api installed at all (which I believe i do. It should have been included in the app engine sdk i installed)? If it's not installed how can I install it?
Upvotes: 2
Views: 779
Reputation: 39814
The GCS library is not included the GAE SDK, it has to be vendored in as a 3rd party lib.
See also Downloading the client library in the GAE Setting Up Google Cloud Storage doc.
Upvotes: 3