Opened 9 years ago

Closed 9 years ago

#25885 closed Bug (invalid)

SyntaxError in Django 1.9 install output

Reported by: Romaan Khadeer Ahmed Owned by: Romaan Khadeer Ahmed
Component: Uncategorized Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Romaan Khadeer Ahmed)

Created a virtualenv and tried installing Django

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

Compiling /home/romaan/workspacepy/tester/build/django/django/conf/app_template/models.py ...
  File "/home/romaan/workspacepy/tester/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...

Looks like syntax error

Change History (2)

comment:1 by Romaan Khadeer Ahmed, 9 years ago

Description: modified (diff)

comment:2 by Tim Graham, 9 years ago

Resolution: invalid
Status: newclosed
Summary: Django 1.9 Installation IssueSyntaxError in Django 1.9 install output
Note: See TracTickets for help on using tickets.
Back to Top