> I suspect it is trying to import Http but can't. > > Fire up python (Start -> Python Interactive Shell, or Start -> Run -> > cmd -> type python), and type: > > import Http > If that doesn't work, you haven't installed it properly. See the > following quote from the Django wiki: > > "•Go to c:\pyisapie\source\PyISAPIe\Python\ and copy the entire Http > folder to c:\python25\lib\site-packages. Note: the Http folder is case > sensitive. Saving in 'http' (or any other variation) will not work > [SF]. " >
I've copied Http to site-packeges. "import Http" works OK. Interesting thing is that running "from Http import *" fails (AttributeError: 'module' object has no attribute 'Read'), but I guess this has something to do with the fact that Http's __init__.py tries to set __all__ (in other words: import) modules that are not in the filesystem, but somewhere in the pyisapie.dll (?), like the mentioned 'Read'. There is even a comment line that says #From DLL. I don't know how this is supposed to work, i.e. how python can import modules from dll (?), I even included tha path to the DLL in the pytonpath, just in case, but it didnt help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.