2006年11月19日 星期日 20:33
python,您好! 我在windows上安装webcleaner 2.39,安装完成后服务启动失败,事件查看器里给出的信息为: Python could not import the service's module File "I:\Python24\Lib\site-packages\wc\win32start.py", line 35, in ? import wc.start File "I:\Python24\Lib\site-packages\wc\start.py", line 27, in ? import wc.proxy.mainloop File "I:\Python24\Lib\site-packages\wc\proxy\mainloop.py", line 34, in ? import wc.proxy.HttpClient File "I:\Python24\Lib\site-packages\wc\proxy\HttpClient.py", line 45, in ? import wc.proxy.ClientServerMatchmaker File "I:\Python24\Lib\site-packages\wc\proxy\ClientServerMatchmaker.py", line 40, in ? import wc.proxy.Headers File "I:\Python24\Lib\site-packages\wc\proxy\Headers.py", line 33, in ? import wc.proxy.decoder.GunzipStream File "I:\Python24\Lib\site-packages\wc\proxy\decoder\GunzipStream.py", line 41, in ? import wc.proxy.decoder.DeflateStream File "I:\Python24\Lib\site-packages\wc\proxy\decoder\DeflateStream.py", line 33, in ? import zlib exceptions.ImportError: dynamic module does not define init function (initzlib) 我GOOGLE了一下,发现这个问题好象是PYTHON的一个毛病,而且还没有什么解决的办法。请问谁知道该怎么样修正呢? 我的环境: WINDOW 2K PROFESSIONAL PYTHON 2.4 zlib.pyd 在 PYTHON24/DLL S路径下,sys.path中已经包含 sys.path= ['I:\\Python24\\Lib\\test', 'C:\\winnt\\system32\\python24.zip', 'I:\\Python24\\Lib\\test', 'I:\\Python24\\DLLs', 'I:\\Python24\\lib', 'I:\\Python24\\lib\\plat-win', 'I:\\Python24\\lib\\lib-tk', 'I:\\Python24\\Lib\\site-packages\\pythonwin', 'I:\\Python24', 'I:\\Python24\\lib\\site-packages', 'I:\\Python24\\lib\\site-packages\\PIL', 'I:\\Python24\\lib\\site-packages\\win32', 'I:\\Python24\\lib\\site-packages\\win32\\lib', 'I:\\Python24\\lib\\site-packages\\wx-2.5.5-msw-ansi'] 谢谢 致 礼! cry zyqmail在tom.com
2006年11月20日 星期一 08:29
肯定是你当前目录还是那个目录下面还有个ZLIB.DLL -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20061120/52664dc7/attachment.html
Zeuux © 2025
京ICP备05028076号