On Tue, 4 Nov 2008 13:12:46 -0800 (PST), bizcuit wrote:
>
> I have been using Django with Python 2.5 the past few months.
>
> Today I removed Python 2.5 installed Python 2.6 and downloaded
> Django.
>
> when I try to create a project from the command line in Windows
> Vista:
>
> django-admin.py startproject myProject
>
> I get "Type 'django-admin.py help' for usage." returned.
>
> Does anyone know why this is not working?
>
> thanks
>
> -- jk
>

I had this problem recently in Vista and it turned out to be a issue with the 
.py file association, only the first argument was getting passed to the 
django-admin.py script. Specifically the file association open command was:

python.exe" "%1"

when it needs to be:

python.exe" "%1" %*

unfortunately, unlike XP, you can't directly edit the association in Vista, you 
need to use something like File Type Doctor, see 
http://www.annoyances.org/exec/show/article02-500

G

-- 
Gwynne Reddick, [EMAIL PROTECTED] on 04/11/2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to