Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72061

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found

References <53822B28.4070609@shopzeus.com> <lltohb$sup$1@ger.gmane.org>
Date 2014-05-26 05:57 -0700
From Albert-Jan Roskam <fomcl@yahoo.com>
Subject Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found
Newsgroups comp.lang.python
Message-ID <mailman.10341.1401109187.18130.python-list@python.org> (permalink)

Show all headers | View raw


---- Original Message -----
> From: Terry Reedy <tjreedy@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" 

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found Albert-Jan Roskam <fomcl@yahoo.com> - 2014-05-26 05:57 -0700

csiph-web