Monday, November 24, 2014

Django install packages using pip

I run django project with apache on CentOS 6. Everything was fine til i need capcha. I follow this tutorialand after installing django-simple-captcha i got this error:

[root@rashno html]# python2.6 /usr/lib/python2.6/site-packages/django/bin/django-admin.py startapp psp  Traceback (most recent call last):    File "/usr/lib/python2.6/site-packages/django/bin/django-admin.py", line 2, in <module>      from django.core import management    File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 68      commands = {name: 'django.core' for name in find_commands(__path__[0])}                                        ^  SyntaxError: invalid syntax
I uninstall django-simple-captcha and re-install django but i still got that error and server not work now. Please Please Please help me.

--
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/47e99e24-5c20-4a38-85c9-cd09548d3036%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment