Compilation Error while installing

12 views
Skip to first unread message

Kshitij Saraogi

unread,
Jan 12, 2016, 5:06:43 PM1/12/16
to Django users
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 ?

Simon Charette

unread,
Jan 12, 2016, 5:10:27 PM1/12/16
to Django users
Hi,

These warnings are safe to ignore, please see 1.9 release notes for more details.

Simon
Reply all
Reply to author
Forward
0 new messages