9

I'm using the Google App Engine, and I want to deploy my app to localhost using dev_appserver.py, however when I do that it specifies that some file called "bootstrapping.py" is trying to import 'setup', and that there is no module with that name. I have python3.5 installed. I also have the google-cloud-sdk\bin saved to Path in my environment variables. Did I not install something I should have?

2

1 Answer 1

6

I had the same problem but was able to fix it by switching to Python 2.7.

I'm using Conda, which has a good guide for creating a Python 2.7 environment while still being able to switch easily back to Python 3.5: http://conda.pydata.org/docs/py2or3.html

If you're not using Conda I'm sure there's still a way to switch back to Python 2.7, but I'm not sure if that means you have to get rid of Python 3.5. In any case, switching to 2.7 fixed my problem right away.

Sign up to request clarification or add additional context in comments.

2 Comments

This does work. The Google App Engine also states that they only support Python 2.7, so there are obviously compatibility issues if you use 3
Yes. I also had same. after switching back to 2.7. It works fine.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.