django-admin.py startproject mysite not working well on windows 7


Question

I'm learning django and I did successfully start a site on Windows XP by following the tutorial.

However, on Windows 7 when I issued:

django-admin.py startproject mysite

python.exe was started and a window appeared to ask me to choose either python.exe or other program to open a file....

Did I do anything wrong or there are more tricks for windows 7?

1
11
11/21/2011 3:13:58 AM

That's already been reported to the django, see http://bugs.python.org/issue7936 And these's an solution: open regedit and find python.exe like this "C:\Python26\python.exe" "%1" change it to "C:\Python26\python.exe" "%1" %*

14
7/13/2010 1:22:58 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon