This is an issue with setuptools 5.5.x. It is safe to ignore, or you can upgrade setuptools by upgrading pip: pip install -U pip
On Wednesday, December 9, 2015 at 11:47:42 AM UTC+1, Chethan Kumar R wrote:
Hi, allIm new to django, just now installed django through pip and got below syntax error, so can anyone tell me is that fine or need to correct that.Thanks in advance.sudo pip install DjangoDownloading/unpacking DjangoDownloading Django-1.9-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded Installing collected packages: DjangoCompiling /tmp/pip_build_root/Django/django/conf/app_template/apps. py ... File "/tmp/pip_build_root/Django/django/conf/app_template/apps. py", line 4 class {{ camel_case_app_name }}Config(AppConfig):^SyntaxError: invalid syntaxCompiling /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 syntaxSuccessfully installed DjangoCleaning up...
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0f7f1fc6-a7fd-45a1-b221-a08b4b34cd8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment