appcfg.py command keeps on returning usage : appcfg.py [options] <actions>

151 views Asked by At

My cmd keeps on returning this for what ever appcfg.py command i give even appcfg.py -v I have python 2.7.9 I installed this version,i had same issue with 2.7.11. I have everything included in my path environment variable My googleappengine is alo included into my path environment variable

enter image description here

So this hard coded command is working for me ....

python "C:\Program Files (x86)\Google\google_appengine\appcfg.py" -A soy-key-124518 -V v1 update "C:\Users\Hamad\Desktop\ae-php\app"

What can the problem be?

1

There are 1 answers

3
Dan Cornilescu On

The /app path to the app dir seems incorrect:

  • I'm unsure you can use the unix/linux / path delimiter in windows
  • even if it can indeed be used, /app means either an absolute path (C:\app?) or the relative path to the C:\Users\Hamad\app dir (the current working dir appears to be C:\Users\Hamad) none of them matching the (absolute) path from the cmd that works: C:\Users\Hamad\Desktop\ae-php\app.

Try using the full path to the app dir (the same as in the cmd that works) or the proper relative path depending on the actual dir in which you execute that cmd.