Django install packages using pip

40 views
Skip to first unread message

Hossein Rashnoo

unread,
Nov 25, 2014, 1:05:16 AM11/25/14
to django...@googlegroups.com
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.

Hossein Rashnoo

unread,
Nov 25, 2014, 1:29:23 AM11/25/14
to django...@googlegroups.com
the problem was i use python2.6 with django 1.7 and when install django 1.6 problem solved

Reply all
Reply to author
Forward
0 new messages