在命令行中,代码运行完美,但在使用django + mod_python 或 wsgi +apache时抛出导入错误
消息是:
ImportError at /test2/
DLL load failed: The specified module could not be found.
C:\Python26\lib\site-packages\django\core\handlers\base.py in get_response
D:\dgwww\mytest\views.py in test2
C:\Python26\lib\site-packages\SOAPpy\wstools\WSDLTools.py in loadFromStream
C:\Python26\lib\site-packages\_xmlplus\dom\minidom.py in parse
C:\Python26\lib\site-packages\_xmlplus\dom\expatbuilder.py in <module>
C:\Python26\lib\site-packages\_xmlplus\parsers\expat.py in <module>