pip unistall django pip install django 2016-01-09 19:26 GMT-03:00 Simon Charette <[email protected]>:
> Hi Nicholas, > > These warnings should be safe to ignore. > > See 1.9 release notes > <https://docs.djangoproject.com/en/1.9/releases/1.9/#syntaxerror-when-installing-django-setuptools-5-5-x> > for more details. > > Simon > > > Le samedi 9 janvier 2016 16:30:14 UTC-5, Nicholas Geovanis a écrit : >> >> 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 >> >>> >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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 > <https://groups.google.com/d/msgid/django-users/b002fab6-9d62-45e0-8a69-a5a8a51d1711%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Ricardo Daniel Quiroga -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAO2-wHazCrW%3DnLN5HZO6UD3VMVx_hKY6Wvj46Qwqk0rDrFGCCQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

