Hi, These warnings are safe to ignore, please see 1.9 release notes for more details <https://docs.djangoproject.com/en/1.9/releases/1.9/#syntaxerror-when-installing-django-setuptools-5-5-x> .
Simon Le mardi 12 janvier 2016 12:06:43 UTC-5, Kshitij Saraogi a écrit : > > Hello, > > I was installing django via pip and I got a few errors. Here is the > traceback: > > ➜ ~ pip3 install Django > Downloading/unpacking Django > Downloading Django-1.9.1-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded > Installing collected packages: Django > *** Error compiling > '/tmp/pip-build-7s8zc2i5/Django/django/conf/app_template/apps.py'... > File "/tmp/pip-build-7s8zc2i5/Django/django/conf/app_template/apps.py", > line 1 > {{ unicode_literals }}from django.apps import AppConfig > ^ > SyntaxError: invalid syntax > > > *** Error compiling > '/tmp/pip-build-7s8zc2i5/Django/django/conf/app_template/models.py'... > File "/tmp/pip-build-7s8zc2i5/Django/django/conf/app_template/models.py" > , line 1 > {{ unicode_literals }}from django.db import models > ^ > SyntaxError: invalid syntax > > > Successfully installed Django > Cleaning up... > > I wanted to know why this is happening ? > Also, how should I fix it if this is something to worry about ? > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20ebdb1a-599a-4c13-82bb-41db34331fdb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.