Is Apache 32 bit or 64 bit? Are all the components the same or is it possible you have a mix of 32 bit and 64 bit components, which wouldn't work.
Other possibility is missing dependency on DLL because of how Python changed building extensions in Python 2.6.?. See: http://groups.google.com/group/modwsgi/browse_thread/thread/fa72de2deef276d9 Graham On 15 September 2011 16:24, Andreas <sv1...@gmail.com> wrote: > Hi everybody, > > I don't know if you can help me, but I am facing a very peculiar > problem. > > I am developing an application with django, and I am consuming a SOAP > web service with suds and processing all XML input with lxml. > Development is done on a linux machine and everything works fine, > either with django's server or with apache and mod_wsgi. > > But the deployment target is a Windows machine. > > At the target I have installed django1.3, python2.6, apache2.2 and > mod_wsgi. > Also all my needed libs such as suds, lxml, south. > When I am serving with apache I am getting an import error at my line > with: from lxml import etree > The exact error is: > > ImportError at /sel > > DLL load failed: The specified module could not be found. > > This only happens with apache and mod_wsgi on windows. > When i use the development server of django everything runs ok. > When I start a python shell import lxml it gives no errors. > > Mind you that I have also tried python 2.7 with the same results. > lxml was installed using easy_install > My PYTHONPATH is correct, everything else (suds, south, django) gets > imported with no problem (all of them are under my site-packages dir, > and all was installed with easy_install) > > Any help would be much appreciated. > Thank you > Andreas > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to modwsgi@googlegroups.com. > To unsubscribe from this group, send email to > modwsgi+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modwsgi@googlegroups.com. To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.