6👍
✅
Looks like Django is not available in any of the directories in your PYTHONPATH.
Check to see if django is available from the command prompt:
$ python -c 'import django'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named django
$ # crash and burn...
Assuming you get that error, add the path to django to PYTHONPATH.
$ export PYTHONPATH=/path/to/django:$PYTHONPATH
$ python -c 'import django'
$ # hurray!
If you extracted Django-1.1.1.tgz into ~/Django-1.1.1 use “~/Django-1.1.1” not “~/Django-1.1.1/django” for the /path/to/django.
- [Django]-Django Quill Editor Display Saved Field
- [Django]-Django: "Forbidden (403) CSRF verification failed. Request aborted." in Docker Production
- [Django]-Monitoring angular.js single page app
- [Django]-Django handler404 not called on raise Http404()
- [Django]-Django utilizing/pulling data from other databases
Source:stackexchange.com