Fixing ImportError with pyWin32 on ServiceManager Preparation

30 Views Asked by At

My program is using the latest version of Python 3.8 + pywin32, but when I run it gets an error:

Traceback (most recent call last):
  File "D:ServiceDenoise_1.0.0.3045DenoiseServiceCreate.py", line 75, in <module>
servicemanager. PrepareToHostSingle(Win32IPSService)
AttributeError: module 'servicemanager' has no attribute 'PrepareToHostSingle'

What's going on?

I tried uninstalling the pywin32 module and servicemanager, but it didn't work, in the servicemanager.py for PrepareToHostSingle is like this:

def PrepareToHostSingle(*args, **kwargs): # real signature unknown

 Is there any good idea to fix it
0

There are 0 best solutions below