zlib + Windows 32 service problem (ImportError)

Laszlo Zsolt Nagy gandalf at geochemsource.com
Mon Aug 15 16:47:58 CEST 2005

Sorry, I realized that the import zlib was not executed from my 
(working) service.
So here is the question: why can't I use zlib from a win32 service? Is 
there any way to make it working?

>Python could not import the service's module
>  File "T:\Python\Projects\NamedConnector\Service.py", line 17, in ?
>    from Processor import *
>  File "c:\Python\Projects\NamedConnector\Processor.py", line 35, in ?
>    from mess import MessageSocket
>  File "T:\Python\Lib\mess\MessageSocket.py", line 31, in ?
>    import zlib
>exceptions.ImportError: dynamic module does not define init function 

More information about the Python-list mailing list