I had this problem. I read about *.pth files and found one for the PIL library.
I put a file called django.pth in .../site-packages/. I put one line in the pth file: "django\bin". I am confused about the pth file though. Should I have more directories in there? Cheers, Bob -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of James Jang Sent: Monday, February 13, 2012 09:34 To: Django users Subject: Re: django-admin.py startproject doesn't work Is "django-admin.py" file in the directory, "Django-1.3.1"?? (If not copy or move the file from in "Django-1.3.1/django/bin/" to "Django-1.3.1/".) On 2월13일, 오후4시02분, raddy <[email protected]> wrote: > I have windows7 OS and have installed Python27 and Django1.3.1 I have > also set the path in the environment variables to: C: > \Python27\;C:\Python27\python.exe;C:\Python27\Scripts;C:\Python27\Lib > \site-packages\django\bin > > Commands like python and import django works well but when i try > creating a new project I get the following error: > > C:\Python27\Django-1.3.1>django-admin.py startproject mysite > 'django-admin.py' is not recognized as an internal or external > command, operable program or batch file. > > C:\Python27\Django-1.3.1> > > Please help!!! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to django- [email protected]. For more options, visit this group at http://groups.google.com/group/django- users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

