Hi Balu,

   django-admin.py uis copied to C:\Python2x\Scripts on your PC
(depending on the specific Python version). This is not typically on
you system path, so Windows can't find it.

  A simple solution is to copy or move the django-admin.py from
Scripts subdir to C:\Python2x (where python.exe resides.

  Cheers

     Jirka


On 01/08/2010, balu <vab...@gmail.com> wrote:
> Thank you. I could able to run python programs well using the Python
> GUI. It is the problem raised when I tried to execute "django-admin.py
> startproject mysite" command on Windows 7
>
> On Aug 1, 9:26 pm, Karen Tracey <kmtra...@gmail.com> wrote:
>> On Sun, Aug 1, 2010 at 11:47 AM, balu <vab...@gmail.com> wrote:
>> > Still I couldn't made it on window 7. May be it is incompatible with
>> > Django
>>
>> I don't have Windows 7 to test, but the problem you are describing
>> (Windows
>> not knowing what executable is associated with .py files) is not a
>> Django-specific problem: it would affect any Python application.
>>
>> You might have better luck if you search generally on getting the python
>> executable properly associated with the .py file extension on Windows 7.
>>
>> The alternative way of running the command, that is including "python" at
>> the front of the command, requires that the path to the python.exe file be
>> included in your windows PATH. So if you cannot find out how to get the
>> .py
>> file association set up properly, you could instead figure out where
>> python.exe is add that directory to your PATH.
>>
>> Karen
>> --http://tracey.org/kmt/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> 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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to