Django 1.9.1/python3.4 install errors

127 views
Skip to first unread message

Nicholas Geovanis

unread,
Jan 9, 2016, 4:30:14 PM1/9/16
to Django users
Hi all -
Received these messages when installing Django 1.9.1 with python 3.4 on Centos 7. Wondering if they are of concern, since pip stated "Succesfully installed Django" (see below, also apparently succesful import of django in python follows below): Thanks

[root@localhost ~]# pip3.4 install Django==1.9.1
Downloading/unpacking Django==1.9.1
  Downloading Django-1.9.1-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded
Installing collected packages: Django
*** Error compiling '/tmp/pip_build_root/Django/django/conf/app_template/apps.py'...
  File "/tmp/pip_build_root/Django/django/conf/app_template/apps.py", line 1
    {{ unicode_literals }}from django.apps import AppConfig
                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/Django/django/conf/app_template/models.py'...
  File "/tmp/pip_build_root/Django/django/conf/app_template/models.py", line 1
    {{ unicode_literals }}from django.db import models
                             ^
SyntaxError: invalid syntax

Successfully installed Django
Cleaning up...
[root@localhost ~]# exit
logout
[ngeo@localhost src]$ python3
Python 3.4.2 (default, Dec 20 2014, 13:53:33)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> print(django.get_version())
1.9.1
>>>

Simon Charette

unread,
Jan 9, 2016, 5:26:37 PM1/9/16
to Django users
Hi Nicholas,

These warnings should be safe to ignore.

See 1.9 release notes for more details.

Simon

Ricardo Daniel Quiroga

unread,
Jan 9, 2016, 6:04:39 PM1/9/16
to django...@googlegroups.com
pip unistall django 
pip install django

--
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...@googlegroups.com.
To post to this group, send email to django...@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/b002fab6-9d62-45e0-8a69-a5a8a51d1711%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Ricardo Daniel Quiroga

Reply all
Reply to author
Forward
0 new messages