Opened 9 years ago
Last modified 9 years ago
#26091 closed Uncategorized
Django Installation on Ubuntu server 14.04.3 — at Initial Version
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
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...
Note:
See TracTickets
for help on using tickets.