user3680799
user3680799

Reputation: 115

AppEngine project error

I am trying to run the default program that is made when making an appEngine project and the logs give me this error

2014-09-22 21:19:08 Running command: "['C:\\Python34\\pythonw.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--skip_sdk_update_check=yes', '--port=10080', '--admin_port=8002', 'C:\\Users\\eriel\\Documents\\web\\southawnings']"
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 82, in <module>
    _run_file(__file__, globals())
  File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 78, in _run_file
    execfile(_PATHS.script_file(script_name), globals_)
NameError: name 'execfile' is not defined
2014-09-22 21:19:08 (Process exited with code 1)

I am using windows 8.0 and the last update of appEngine

Upvotes: 3

Views: 555

Answers (1)

leopittelli
leopittelli

Reputation: 186

If you have Python 2.7 installed try opening the Google App Engine Launcher. Then Edit -> Preferences and check the correct python path is set. If you installed Python on C:/ it should be something like:

C:\Python27\pythonw.exe

Upvotes: 4

Related Questions