---- Original Message ----- > From: Terry Reedy <tjre...@udel.edu> > To: python-list@python.org > Cc: > Sent: Sunday, May 25, 2014 11:49 PM > Subject: Re: win32serviceutil: ImportError: DLL load failed: The specified > module could not be found > > On 5/25/2014 1:40 PM, Nagy László Zsolt wrote: >> >>> import win32service >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> ImportError: DLL load failed: The specified module could not be found >> >> I have no problem loading the same module with Python 2.7. > > So the above is with ??? > >> Strange thing is that win32serviceutil.py is part of the pywin32 >> distribution, so I guess I should be able to import it, right? > > Make sure you have a pywin32 that matches ???. Matching includes python > version and bitness.
In addition, c:\python27\DLLs should also be on your %PATH%: setx PATH "%PATH%;c:\python27\DLLs" -- https://mail.python.org/mailman/listinfo/python-list