Another tip is to add *.py to the PATHEXT variable or the like. That will allow 
the script to be found on the path. I'm not sure if that's the right variable 
name, but check it out. 

On Dec 12, 2010, at 10:13 PM, codegal <nosmalldre...@gmail.com> wrote:

> Thanks.  Good pointer for running python scripts in the future - will
> follow as a matter of practice.
> 
> As it turned out in this case, I just wasn't providing the full path.
> I had set up a .pth file, and had tried copying django-admin.py into
> the main Python directory, but it turned out that directory is not
> assumed, and neither the PYTHONPATH nor the environmental variables
> path gets checked when Python runs the command, so this (full path to
> django-admin.py) is what finally worked for me:
> 
> python C:/Python27/Scripts/django-admin.py startproject mysite
> 
> 
> On Dec 12, 8:06 pm, Brad Reardon <bradsq...@gmail.com> wrote:
>> Vista is very picky about permissions. Try running the command prompt as an
>> administrator.
>> 
>> 
>> 
>> On Sun, Dec 12, 2010 at 8:06 PM, codegal <nosmalldre...@gmail.com> wrote:
>>> I'm trying to create my first Django project, and I must be missing
>>> something really basic. I'm using Windows Vista, and have installed
>>> Python 2.7 and Django 1.2.3, put the location of django-admin.py into
>>> my PATH variable, and navigated via command line to the location where
>>> I want to create a project. I'm entering:
>> 
>>> django-admin.py startproject cms
>> 
>>> at the command line. I don't get an error, but I also don't get any
>>> processing back - just a new prompt, and no project created in the
>>> directory. Can't find any posts on the web regarding this issue...
>> 
>>> Thanks!
>> 
>>> --
>>> 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<django-users%2bunsubscr...@google­groups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.- Hide quoted text -
>> 
>> - Show quoted text -
> 
> -- 
> 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