GoogleCloudPlatform / appengine-gcs-client

App Engine-Cloud Storage custom client library
Apache License 2.0
124 stars 112 forks source link

Demo can't find its libs #42

Open nickretallack opened 8 years ago

nickretallack commented 8 years ago

I followed the tutorial but it failed to import cloudstorage. To make it work, I added this to the top of python/demo/main.py:

from google.appengine.ext import vendor
vendor.add('lib')
scheung38 commented 7 years ago

Hi Nick

I tried your suggestion, and even that didn't work? Where is 'lib'? Is this the folder you are referring to:

/src/cloudstorage/cloudstorage_api

Since I can't find any lib folder?

nickretallack commented 7 years ago

lib is created when you run the command

pip install GoogleAppEngineCloudStorageClient -t demo/lib

which is step 3 in the tutorial.

scheung38 commented 7 years ago

Need this

pip install GoogleAppEngineCloudStorageClient -t demo/lib

when there is already a

src/cloudstorage folder? Since cloning the project also has src/cloudstorage..