Django Install Error: " SyntaxError: future feature unicode_literals is not defined "
I am new to programming in general and I am struggling to install Django. I downloaded the gar file, unzipped it and then attempted to do the " sudo python setup.py install " command in the terminal (I'm working on a Mac OS X 10.5.8) but was given the following message :
-- Traceback (most recent call last):
File "setup.py", line 80, in <module>
version = __import__('django').get_version()
File "/Users/byronprice/Downloads/Django-1.6.1/django/__init__.py", line 6, in get_version
from django.utils.version import get_version
File "/Users/byronprice/Downloads/Django-1.6.1/django/utils/version.py", line 1
from __future__ import unicode_literals
SyntaxError: future feature unicode_literals is not defined
I imagine unicode_literals is part of the Python library and that perhaps in version 3.3 the name was changed to something slightly different. Does anyone have any ideas??
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/274d5ec8-c4aa-4198-8529-dec0b75fdad5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home