Gaurav Agarwal Gaurav Agarwal - 13 days ago 7
Python Question

dev_appserver.py: command not found

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

Answer

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