user2201041
user2201041

Reputation:

Google App Engine: "[path]" does not refer to a valid SDK directory"

I'm running Ubuntu 13.10. Just downloaded the Python SDK for Google App Engine. I type

python appcfg.py udaproject319

and it says

ValueError: GAE_SDK_ROOT '/home/username/app/new_project_template' does not refer to a valid SDK directory

I have no idea what this means. What makes a directory an SDK directory? Here are the files I have in the folder:

appcfg.py favicon.ico main.py main.pyc
index.yaml udaproject319.yaml

Upvotes: 2

Views: 382

Answers (1)

Gianni Di Noia
Gianni Di Noia

Reputation: 1578

After you download and unzip the SDK, you have a folder google_appengine somewhere. The sdk directory is something like /home/username/google_appengine

when you want deploy or start dev_appserver you type:

python [GAE_SDK_ROOT]/appcfg.py update [YOUR_APP_ROOT]

for example:

python /home/username/google_appengine/appcfg.py update /home/username/udaproject319

Upvotes: 1

Related Questions