On Mon, Jul 23, 2012 at 4:58 PM, boxxtcy <wjhsie@gmail.com> wrote:
> I tried without the .py, still doesn't do anything. django-admin.py lives
> in my C:\Python27\Scripts just as it is supposed to. I don't really see
> what the issue is :/
Don't rely on the association of .py files with the Python interpeter
and executability of .py files features provided by the OS.
Simply specify the full path to the django-admin.py script
(and if needed, the full path to the Python interpeter).
As in:
python C:\Python27\Scripts\django-admin.py startproject foo
or
C:\Python27\python C:\Python27\Scripts\django-admin.py startproject foo
The basic concepts will always work. The above techniques will allow
you to execute script in any interpreted language on any platform.
HTH
--
Ramiro Morales
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment