Opened 9 years ago
Closed 9 years ago
#25990 closed Bug (invalid)
pip install django giving error compiling
Reported by: | Glyn Jackson | 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
Running Mac OS 10.11.2
Steps to reproduce:
> virtualenv -p python3 env > source env/bin/activate > pip install django
Output:
Downloading/unpacking django Downloading Django-1.9-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded Installing collected packages: django *** Error compiling '/Users/glyn/Documents/workspace/django-docker-template2/env/build/django/django/conf/app_template/apps.py'... File "/Users/glyn/Documents/workspace/django-docker-template2/env/build/django/django/conf/app_template/apps.py", line 4 class {{ camel_case_app_name }}Config(AppConfig): ^ SyntaxError: invalid syntax *** Error compiling '/Users/glyn/Documents/workspace/django-docker-template2/env/build/django/django/conf/app_template/models.py'... File "/Users/glyn/Documents/workspace/django-docker-template2/env/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...
Note:
See TracTickets
for help on using tickets.
Please see https://docs.djangoproject.com/en/1.9/releases/1.9/#syntaxerror-when-installing-django-setuptools-5-5-x