install question:django-admin.py for help

3 views
Skip to first unread message

Bob

unread,
Dec 19, 2009, 7:04:11 PM12/19/09
to Django users
Hi,
I am trying to get started with django on windows vista. I have
successfully installed it as "import django" works in python.
However, whenever I try at the command prompt
"django-admin.py startproject myproject"
I get "Type 'django-admin.py help' for usage".
I have tried four installs on 3 different machines and each time I get
this. What am I doing wrong?

Thanks,
Bob

Message has been deleted

Karen Tracey

unread,
Dec 19, 2009, 7:25:42 PM12/19/09
to django...@googlegroups.com

Something is broken with the association of .py files to the python executable on the Vista machines -- whatever association is in place is not passing arguments along.  I don't know why this happens but I know I've seen it reported before.  I also don't have a Vista machine so I can't describe how to fix it but if you Google terms like Vista .py association you'll find plenty of hits of people who have run into the same thing, and some describe ways to fix the association.

Karen

Bob

unread,
Dec 19, 2009, 7:38:58 PM12/19/09
to Django users
Thank you very much for your quick response. That seems to have fixed
it. The site I used was http://codemagnet.blogspot.com/2008/12/py-association-in-vistawindows-missing.html
. I had to go into the windows registry, into the Computer/
HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command and
change the append a %* to the key which said "C:\Python26\python.exe"
"%1" .


This was a real bear to figure out. Thanks again

On Dec 19, 7:25 pm, Karen Tracey <kmtra...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages