#25992: SyntaxError: invalid syntax on CentOS 6.7
-------------------------------+--------------------
Reporter: shakaran | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
I am getting the following trace installing via easy_install (Python 3.5)
under CentOS 6.7
{{{
# easy_install-3.5 Django==1.9
Searching for Django==1.9
Reading https://pypi.python.org/simple/Django/
Best match: Django 1.9
Downloading
https://pypi.python.org/packages/source/D/Django/Django-1.9.tar.gz#md5=110389cf89196334182295165852e082
Processing Django-1.9.tar.gz
Writing /tmp/easy_install-uexgnc91/Django-1.9/setup.cfg
Running Django-1.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-
uexgnc91/Django-1.9/egg-dist-tmp-f7wggfuf
no previously-included directories found matching
'django/contrib/admin/bin'
warning: no previously-included files matching '__pycache__' found under
directory '*'
File "build/bdist.linux-x86_64/egg/django/conf/app_template/apps.py",
line 4
class {{ camel_case_app_name }}Config(AppConfig):
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/django/conf/app_template/models.py",
line 1
{{ unicode_literals }}from django.db import models
^
SyntaxError: invalid syntax
creating /usr/lib/python3.5/site-packages/Django-1.9-py3.5.egg
Extracting Django-1.9-py3.5.egg to /usr/lib/python3.5/site-packages
File "/usr/lib/python3.5/site-
packages/Django-1.9-py3.5.egg/django/conf/app_template/apps.py", line 4
class {{ camel_case_app_name }}Config(AppConfig):
^
SyntaxError: invalid syntax
File "/usr/lib/python3.5/site-
packages/Django-1.9-py3.5.egg/django/conf/app_template/models.py", line 1
{{ unicode_literals }}from django.db import models
^
SyntaxError: invalid syntax
Adding Django 1.9 to easy-install.pth file
Installing django-admin.py script to /usr/bin
Installing django-admin script to /usr/bin
Installed /usr/lib/python3.5/site-packages/Django-1.9-py3.5.egg
Processing dependencies for Django==1.9
Finished processing dependencies for Django==1.9
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25992>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.25d6fd3dd5f6e734b47dc6e5110d03ca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.