Opened 8 years ago

Last modified 8 years ago

#26091 closed Uncategorized

Django Installation on Ubuntu server 14.04.3 — at Version 1

Reported by: Ali Kabiri Owned by:
Component: Error reporting 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 Ali Kabiri)

I get the following error while I try to install Django using pip.

sudo pip install django
Downloading/unpacking django
  Downloading Django-1.9.1-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded
Installing collected packages: django
Compiling /tmp/pip_build_root/django/django/conf/app_template/apps.py ...
  File "/tmp/pip_build_root/django/django/conf/app_template/apps.py", line 1
    {{ unicode_literals }}from django.apps import AppConfig
                             ^
SyntaxError: invalid syntax

Compiling /tmp/pip_build_root/django/django/conf/app_template/models.py ...
  File "/tmp/pip_build_root/django/django/conf/app_template/models.py", line 1
    {{ unicode_literals }}from django.db import models
                             ^
SyntaxError: invalid syntax

Successfully installed django
Cleaning up...

Change History (1)

comment:1 by Ali Kabiri, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top