Reputation: 6749
I have download and installed GoogleCloudSDK and I did the following commands:
gcloud auth login
gcloud components update gae-python
And I downloaded the Django started code from the link proposed (*), then unpacked it and used cd
to get into the unpacked zip file folder. Then I try to run appcfg.py -A #myprojectidhere
and I get this error:
C:\Users\THOMAS\Downloads\appengine-try-python-django>appcfg.py -A #myprojectidhere
er-544
Traceback (most recent call last):
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\appcfg.py", line
8, in <module>
import bootstrapping.bootstrapping as bootstrapping
File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\bootstrapping\boo
tstrapping.py", line 9, in <module>
import setup
ImportError: No module named 'setup'
I fail to understand why i'm getting this, any help?
Upvotes: 2
Views: 211
Reputation: 86
You might want to check if you have python 2.7 in use, because Google App Engine does not work with python 3.x.
Does Google App Engine support Python 3?
Upvotes: 1