#25990: pip install django giving error compiling
---------------------------------+-----------------
     Reporter:  glynjackson      |      Owner:
         Type:  Bug              |     Status:  new
    Component:  Error reporting  |    Version:  1.9
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+-----------------
 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...
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25990>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.7cd2cad7eaf545aefc5ca57a692da7d1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to