Error with module using Cloud Storage with Python and his tutorial <p>I'm trying to test Google Cloud Storage to store images (I need it in an app that I'm developing) and I'm following the <a href="https://cloud.google.com/python/getting-started/using-cloud-storage#app_structure" rel="nofollow">Bookshelf App tutorial</a> that they have in his webpage.</p> <p>I'm using python and the problem is that when I execute the requirementes.txt all packages have been installed fine, but when I try execute the code, I see this error:</p> <pre><code>...sandbox.py", line 948, in load_module raise ImportError('No module named %s' % fullname) ImportError: No module named cryptography.hazmat.bindings._openssl </code></pre> <p>I have been trying hundred of posibles solutions, reinstalling only the cryptography package, trying to use different versions of the same module, and installing other packages that contains it but anything resolved the problem.</p> <p>The requirements contains this:</p> <pre><code>Flask==0.10.1 gcloud==0.9.0 gunicorn==19.4.5 oauth2client==1.5.2 Flask-SQLAlchemy==2.1 PyMySQL==0.7.1 Flask-PyMongo==0.4.0 PyMongo==3.2.1 six==1.10.0 </code></pre> <p>I'm sure that it is a simple error but I don't find the way to solve it. Any help will be welcome. Thanks.</p> <p>EDIT:</p> <p>When I try do this with a python program this work fine:</p> <pre><code>import os from gcloud import storage os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'key.json' client = storage.Client(project='xxxxxxx') bucket = client.get_bucket('yyyyyyy') f = open('profile.jpg', 'rb') blob = bucket.blob(f.name) blob.upload_from_string(f.read(), 'image/jpeg') url = blob.public_url print url </code></pre> <p>Why I don't can use gcloud library without erros in a GAE app?</p>