找不到dev_appserver.py:命令(dev_appserver.py: command not found)
尝试在Ubuntu上的Google应用引擎上运行python应用,就像这样
$ dev_appserver.py helloworldhelloworld包含文件app.yaml
但我得到这个错误
找不到dev_appserver.py:命令
Trying to run a python app on Google app engine in Ubuntu like so
$ dev_appserver.py helloworldwhere helloworld contains the file app.yaml
but I am getting this error
dev_appserver.py: command not found
最满意答案
下载App Engine源文件后,您必须在路径中添加目录才能执行该脚本文件。
使用正确的路径打开位于主目录和此行的.bashrc文件( 阅读详情 ):
export PATH=/path/to/google_app_engine:$PATHAfter downloading the App Engine source files you will have to add the directory in the path in order to be able to execute that script file.
Open your .bashrc file that is located in the home directory and this line with the correct path (read more):
export PATH=/path/to/google_app_engine:$PATH更多推荐
发布评论