problem with intalling python 2.7.1

4 views
Skip to first unread message

bh.hoseini

unread,
May 24, 2011, 2:00:51 AM5/24/11
to Django users
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?!

Karen Tracey

unread,
May 24, 2011, 8:12:45 AM5/24/11
to django...@googlegroups.com

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/

Reply all
Reply to author
Forward
0 new messages