#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.
--
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/052.1cd44e2c41887357b2d7ebc763166a05%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.