On Tue, May 24, 2011 at 2:00 AM, bh.hoseini wrote:
> hi!
> i installed python 2.7.1 on vista, then opened "command line", and
> wrote "django-admin.py startproject mysite" at first, but i faced
> syntax error:invalid syntax. could you help me solve this problem?!
>
>
It rather sounds like you've got a Python 3 install trying to interpret
django-admin.py, which is using Python 2.x syntax. Do you also have some
version of Python3 installed and is that version of Python what is
associated with the .py extension?
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-users@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.