Si, a mi me pasó algo similar y era por la versión de python, actualmente 
Django solo es compatible con python 2.7.

Saludos,

El miércoles, 13 de junio de 2012 06:34:19 UTC-5, Renne Rocha escribió:
>
>  Hello, 
>
>   It appears that you are trying to use Python 3. Django doesn't works 
> with Python 3, so you must install Python 2.7 instead. 
>
>   Reinstall the Python version to Python 2.7. It must fix your problem. 
>
>   Regards, 
>
>   Renne 
>
> On Wed, Jun 13, 2012 at 4:20 AM, Manish <manishs...@gmail.com> wrote: 
> > Hi, 
> > 
> > I am new to python and django. I have install django and trying to 
> create a 
> > new project. When i run the command "django-admin.py startproject 
> mysite", i 
> > get an error. 
> > the error is : 
> > 
> > Tracebback(most recent call last): 
> > File "./django-admin.py", line 2, in <module> 
> > from django.core import management 
> > File "C:\Python32\lib\site-packages\django\core\management\__init__.py", 
> > line 54 
> > 
> > except ImportError ,e: 
> > 
> > SyntaxError: Invalid syntax. 
> > 
> > 
> > please help me in setting up django 
> > 
> > -- 
> > 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/-/ucLV-QjMBH8J. 
> > 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. 
>

-- 
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/-/em2hb_fY2VIJ.
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.

Reply via email to