Python 3.5 amd64 and win32service

Nagy László Zsolt gandalf at shopzeus.com
Mon Oct 3 09:26:14 EDT 2016


  Hello,

Is it possible to write a win32 service with 64 bit python 3.5? The
pywin32 package does exist on 3.5 64bit, but missing some modules:

>>> import win32service
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed:The specified module could not be found.

>>>

Missing modules: win32service win32event servicemanager

I have also tried the 32 bit version of Python. The 32 bit version does
have the missing modules, but the installer fails.  Even if I start it
as a system admin, I get this message:

LoadLibraryEx returned 1444544512, last error 0

The basic question: is it - at least in theory - possible to use 64 bit
python in a win32 service?

Thanks,

   Laszlo





More information about the Python-list mailing list