Opened 5 years ago

Closed 5 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 Changed 5 years ago by Romaan Khadeer Ahmed

Description: modified (diff)

comment:2 Changed 5 years ago by Tim Graham

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