Opened 7 years ago

Closed 7 years ago

#25901 closed Bug (invalid)

Pip install crashing at "Compiling" phase due to "Syntax error"

Reported by: Sreejith R Owned by: nobody
Component: Packaging Version: 1.9
Severity: Normal Keywords: install, pip,
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


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/ ...
  File "/Users/sreejith/Envs/test/build/Django/django/conf/app_template/", line 4
    class {{ camel_case_app_name }}Config(AppConfig):
SyntaxError: invalid syntax

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

Change History (1)

comment:1 Changed 7 years ago by Tim Graham

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top