I am getting this error
File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
TemplateSyntaxError: Caught ImportError while rendering: No module named django_bcrypt
.
django_bcrypt
is installed and can be imported at python shell.
django_bcrypt
is installed at /root/src/django_bcrypt
Also I have an old python 2.4 /usr/bin/python2.4
And my new one is /usr/local/bin/python2.7
I also have one /usr/local/bin/python
I checked the sys.path,sys.prefix,sys.version using a wsgi script.Everything is correct.
First i was having an error import site failed
error.I corrected it by adding WSGIPythonHome /usr/local