找不到dev

编程入门 行业动态 更新时间:2024-10-28 14:32:09
找不到dev_appserver.py:命令(dev_appserver.py: command not found)

尝试在Ubuntu上的Google应用引擎上运行python应用,就像这样

$ dev_appserver.py helloworld

helloworld包含文件app.yaml

但我得到这个错误

找不到dev_appserver.py:命令

Trying to run a python app on Google app engine in Ubuntu like so

$ dev_appserver.py helloworld

where 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:$PATH

After 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

更多推荐

本文发布于:2023-07-15 20:49:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1118579.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   dev

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!