Do me a favor and check that you have <your python install>\Lib\site-packages\django\bin\django-admin.py
If you do, try that. I don't think I have a C:\django-1.3\... directory, could be an issue with how you installed it (I didn't experiment, there was no need). On Tue, Aug 30, 2011 at 8:18 PM, PremAnand Lakshmanan <[email protected]>wrote: > My django-admin.py file is located in > > C:\django-1.3\django\bin\django-admin.py > > I tried executing this command but get the following error in my python > shell, > > >>> python C:\django-1.3\django\bin\django-admin.py startproject mysite > SyntaxError: invalid syntax > > > > > On Tue, Aug 30, 2011 at 11:28 AM, Yves S. Garret < > [email protected]> wrote: > >> What OS are you running? Is it in your path? >> >> I'm having a similar issue and managed to get around it (although the >> solution is not as elegant as I'd like) using this: >> python C:\Python27\Lib\site-packages\django\bin\django-admin.py >> startproject mysite2 >> >> On Tue, Aug 30, 2011 at 10:39 AM, PremAnand Lakshmanan < >> [email protected]> wrote: >> >>> I get the following error when I execute this command, >>> >>> django-admin.py startproject mysite >>> >>> Error: >>> django-admin.py not found. >>> >>> >>> >>> -- >>> Prem >>> 408-393-2545 >>> >>> -- >>> 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. >>> >> >> > > > -- > Prem > 408-393-2545 > -- 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.

