Я запускаю свое приложение в Google Cloud и хочу использовать Google Cloud Storage, но получаю ошибку импорта, даже если мое приложение работает в облаке.
Python 2:
Вы загрузили его в папку lib? https://cloud.google.com/appengine/docs/standard/python/googlecloudstorageclient/setting-up-cloud-storage#downloading_the_client_library
lib
pip install GoogleAppEngineCloudStorageClient -t <your_app_directory/lib>
Вы продаете в этой папке lib?
https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27#copying_a_third-party_library
# appengine_config.py from google.appengine.ext import vendor # Add any libraries install in the "lib" folder. vendor.add('lib')
Python 3:
https://cloud.google.com/appengine/docs/standard/python3/using-cloud-storage