简体   繁体   中英

Google App Engine: run dev_appserver.py app.yaml but nothing happens

I am following the official tutorial of google app engine "Getting Started with Flask on App Engine Standard Environment". The problem is that I cannot run the code successfully on local server. I typed:

dev_appserver.py app.yaml

in the command line and hit enter. Nothing happened and a new line was created. I was running the command in a virtual environment from the root directory where the app.yaml file is located. I have already added "[PATH_TO_CLOUD_SDK]/google-cloud-sdk/bin/dev_appserver.py]" to the PATH environment variable.

Does anyone know what is going on?

I encountered the same problem. The solution below works for me. On windows command prompt write the following commands:

1 - cd C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin 
2 - python dev_appserver.py "C:\path\to\app.yaml"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM