[Django] #25960: Error when installing Django 1.9 via pip3

1 view
Skip to first unread message

Django

unread,
Dec 21, 2015, 11:04:44 AM12/21/15
to django-...@googlegroups.com
#25960: Error when installing Django 1.9 via pip3
-------------------------------+--------------------
Reporter: staticdev | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------
When I install Django 1.9 on Linux Mint 17.2, I am getting two syntax
errors:

{{{
$ sudo pip3 install Django
Downloading/unpacking Django
Downloading Django-1.9-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
4
class {{ camel_case_app_name }}Config(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...
}}}

I believe it is an easy picking.

Thanks,

Thiago

--
Ticket URL: <https://code.djangoproject.com/ticket/25960>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 21, 2015, 11:07:29 AM12/21/15
to django-...@googlegroups.com
#25960: SyntaxError when installing Django 1.9
-------------------------------+--------------------------------------
Reporter: staticdev | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 1.9
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):

* status: new => closed
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
* resolution: => invalid


Comment:

Please see https://docs.djangoproject.com/en/1.9/releases/1.9
/#syntaxerror-when-installing-django-setuptools-5-5-x

--
Ticket URL: <https://code.djangoproject.com/ticket/25960#comment:1>

Reply all
Reply to author
Forward
0 new messages