[Django] #25901: Pip install crashing at "Compiling" phase due to "Syntax error"

11 views
Skip to first unread message

Django

unread,
Dec 9, 2015, 6:22:50 AM12/9/15
to django-...@googlegroups.com
#25901: Pip install crashing at "Compiling" phase due to "Syntax error"
----------------------------+---------------------------
Reporter: sreejithr | Owner: nobody
Type: Bug | Status: new
Component: Packaging | Version: 1.9
Severity: Normal | Keywords: install, pip,
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+---------------------------
To reproduce, do this inside a new virtualenv:

{{{
pip install Django==1.9
}}}

This is the output:

{{{
(test)~ ❯❯❯ pip install Django==1.9
Downloading/unpacking Django==1.9
Downloading Django-1.9-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded
Installing collected packages: Django
Compiling
/Users/sreejith/Envs/test/build/Django/django/conf/app_template/apps.py
...
File
"/Users/sreejith/Envs/test/build/Django/django/conf/app_template/apps.py",
line 4
class {{ camel_case_app_name }}Config(AppConfig):
^
SyntaxError: invalid syntax

Compiling
/Users/sreejith/Envs/test/build/Django/django/conf/app_template/models.py
...
File
"/Users/sreejith/Envs/test/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...
}}}

I made a project in the virtualenv and tested. '''It works'''. Does anyone
else have this problem?

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

Django

unread,
Dec 9, 2015, 7:24:38 AM12/9/15
to django-...@googlegroups.com
#25901: Pip install crashing at "Compiling" phase due to "Syntax error"
-------------------------------+--------------------------------------
Reporter: sreejithr | Owner: nobody
Type: Bug | Status: closed
Component: Packaging | Version: 1.9
Severity: Normal | Resolution: invalid

Keywords: install, pip, | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* status: new => closed
* needs_docs: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_better_patch: => 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/25901#comment:1>

Reply all
Reply to author
Forward
0 new messages