[Django] #25990: pip install django giving error compiling

6 views
Skip to first unread message

Django

unread,
Dec 26, 2015, 2:31:40 PM12/26/15
to django-...@googlegroups.com
#25990: pip install django giving error compiling
---------------------------------+-----------------
Reporter: glynjackson | Owner:
Type: Bug | Status: new
Component: Error reporting | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------
Running Mac OS 10.11.2
Steps to reproduce:

{{{
> virtualenv -p python3 env
> source env/bin/activate
> pip install django
}}}


Output:


{{{
Downloading/unpacking django
Downloading Django-1.9-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded
Installing collected packages: django
*** Error compiling '/Users/glyn/Documents/workspace/django-docker-
template2/env/build/django/django/conf/app_template/apps.py'...
File "/Users/glyn/Documents/workspace/django-docker-
template2/env/build/django/django/conf/app_template/apps.py", line 4
class {{ camel_case_app_name }}Config(AppConfig):
^
SyntaxError: invalid syntax

*** Error compiling '/Users/glyn/Documents/workspace/django-docker-
template2/env/build/django/django/conf/app_template/models.py'...
File "/Users/glyn/Documents/workspace/django-docker-
template2/env/build/django/django/conf/app_template/models.py", line 1
{{ unicode_literals }}from django.db import models
^
SyntaxError: invalid syntax

Successfully installed django
Cleaning up...
}}}

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

Django

unread,
Dec 26, 2015, 5:10:50 PM12/26/15
to django-...@googlegroups.com
#25990: pip install django giving error compiling
---------------------------------+--------------------------------------
Reporter: glynjackson | Owner:
Type: Bug | Status: closed

Component: Error reporting | 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: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by knbk):

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


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/25990#comment:1>

Reply all
Reply to author
Forward
0 new messages