It seems that Django is not available in any of your PYTHONPATH directories.
Check if django is available on the command line:
$ python -c 'import django'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named django
$
Assuming you got this error, add the path to django in PYTHONPATH.
$ export PYTHONPATH=/path/to/django:$PYTHONPATH
$ python -c 'import django'
$
If you extracted Django-1.1.1.tgz to ~ / Django-1.1.1, use "~ / Django-1.1.1" and not "~ / Django-1.1.1 / django" for / path / to / Django .
source
share