I have updated to latest Django version 1.0.2 after uninstalling my old Django version.But now when I run django-admin.py I get the following error. How can I resolve this?
Traceback (most recent call last): File 'C:\Python25\Lib\site-packages\django\bin\django-admin.py', line 2, in <module> from django.core import management ImportError: No module named django.core
You must make sure that django is in your PYTHONPATH.
To test, just do a
import djangofrom a python shell. There should be no output:If you installed django via
setuptools(easy_install, or with thesetup.pyincluded with django), then check in yoursite-packagesif the.pthfile (easy-install.pth,django.pth, …) point to the correct folder.HIH.