>
> Traceback (most recent call last):
>   File "C:\Python25\Lib\Http\Isapi.py", line 42, in Request
>     imp.load_source(Name, Env.SCRIPT_TRANSLATED).Request
>   File "\\?\C:\Inetpub\wwwroot\slamprwebsite\helloworld.py", line 1,
> in
>     from django.http import HttpResponse
> ImportError: No module named django.http
>
> Additional Information
>
> Module Search Path:
>
> C:\Python25
> C:\WINDOWS\system32\python25.zip
> C:\Python25\Lib
> C:\Python25\DLLs
> C:\Python25\Lib\lib-tk
> c:\windows\system32\inetsrv


Where do you have Django installed?  Normally it goes in C:
\Python25\Lib\site-packages.  But if you notice in the code above,
that path isn't in the Module Search Path.  I also had this problem.
I solved it by moving the Django folder up a level to C:\Python25\Lib.

I know this isn't ideal, but I haven't figure out why the module
search path wouldn't have the site-packages directory in it.  When not
using pyisapie, site-packages is in my default search path.
--~--~---------~--~----~------------~-------~--~----~
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