On Wednesday, 13 June 2012 06:07:19 UTC+1, Manish wrote: > > Hi , > > I am using trying to install and use django on windows xp and i am using > git bash as command line. When i try using > "django-admin.py startproject mysite" command i get an error, __init__.py > line 54. except ImportError,e > Syntax Error: Invalid Syntax > > I am very new to django and python. Please help me. >
Sounds like you have the wrong version of Python. Django currently only works with versions between 2.5 and 2.7, you seem to have installed 3.x. See https://docs.djangoproject.com/en/1.4/faq/install/#what-python-version-can-i-use-with-django -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/YpFQcbMSWQYJ. 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.