> ImportError: No module named django.core
> 
> I ran many google searches on this error and none of the docs came
> back with anything useful to solve my challenge.
> 
> I went to the IRC forums and they told me that Django is not on my
> path. Well, i had already tried adding to my path per the same
> instructions provided for adding python to your path, and the same
> error persisted.


You're close.  There are two different paths:  there's %PATH% 
which is a system variable that tells Windows where to look for 
executables; and there's %PYTHONPATH% which tells Python where to 
look for modules.  You've correctly set %PATH% to point to Python 
which it seems to successfully be finding, but your PYTHONPATH 
isn't set correctly.  As a test, at the command-line, type

   c:\proj\>set PYTHONPATH=c:\path\to\django
   c:\proj\>python manage.py runserver

and see if that does the trick.  If so, you can use the 
Environment Variables window on your System Properties (where you 
likely changed your PATH variable) to create a new env. variable 
for PYTHONPATH and point it to the Django directory (and possibly 
include your project directory as well).

-tim



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to