Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'win32': 0.03; 'importerror:': 0.07; 'installed.': 0.07; 'list?': 0.07; 'matches': 0.07; 'permissions': 0.09; 'skip:f 70': 0.09; 'subject:module': 0.09; 'throws': 0.09; 'python': 0.11; 'changes': 0.15; '2.7:': 0.16; '???.': 0.16; 'all?': 0.16; 'btw': 0.16; 'curious:': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'path).': 0.16; 'path:': 0.16; 'pywin32': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'reproduce': 0.16; 'skip:c 130': 0.16; 'subject: \n ': 0.16; 'subject:failed': 0.16; 'tjg': 0.16; 'unlikely': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'skip:p 40': 0.19; 'addition,': 0.20; 'later': 0.20; 'help.': 0.21; '>>>': 0.22; 'code,': 0.22; 'import': 0.22; 'putting': 0.22; 'load': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'dll': 0.24; 'guys': 0.24; 'post': 0.26; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'matching': 0.30; 'skip:( 20': 0.30; "i'm": 0.30; '(which': 0.31; '(unless': 0.31; '>>>>': 0.31; 'python2.7': 0.31; 'there.': 0.32; 'guess': 0.33; 'could': 0.34; 'but': 0.35; 'version': 0.36; 'combination': 0.36; 'earth': 0.36; 'right?': 0.36; "i'll": 0.36; 'should': 0.36; 'wrong': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'anything': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'truly': 0.60; 'lower': 0.61; 'subject:The': 0.64; 'here': 0.66; 'latest': 0.67; 'hang': 0.67; 'information:': 0.72; 'from:addr:mail': 0.83; '2014,': 0.84; 'nagy': 0.84; 'subject:found': 0.93 Date: Mon, 26 May 2014 14:32:19 +0100 From: Tim Golden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: win32serviceutil: ImportError: DLL load failed: The specified module could not be found References: <53822B28.4070609@shopzeus.com> <1401109074.81861.YahooMailNeo@web163801.mail.gq1.yahoo.com> <53834093.9090302@shopzeus.com> In-Reply-To: <53834093.9090302@shopzeus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1401111146 news.xs4all.nl 2962 [2001:888:2000:d::a6]:57341 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:72063 On 26/05/2014 14:24, Nagy László Zsolt wrote: > >>>> 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" > Just curious: what if I don't have python2.7 installed at all? How on > earth python3.4 + pywin32 requires DLL files from python2.7 ? > > BTW it did not help. Here is my path: > > Path=C:\Python34\;C:\Python34\Scripts;C:\Program Files (x86)\NVIDIA > Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program > Files\SlikSvn\bin;C:\texlive\2013\bin\win32;c:\Python34\DLLs;c:\Python27\DLLs > > > I have both Python27 and Python34 installed. > > Python 3.4: "import win32service" still throws ImportError: DLL load > failed. > Python 2.7: "import win32service" succeeds > > Build information: > > Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 > bit (AMD64)] on win32 > > It is the official latest. pywin32 is also the latest (build 219). Nagy -- could you post to the python-win32 list? There's nothing wrong with putting it out here, but I don't know if the pywin32 guys hang out here, and I know they definitely do there. (Which is also lower volume). I'm not seeing any changes to the win32service code, but a "missing DLL" error is almost always about some combination of permissions / UAC on install. Adding anything to your PATH is unlikely to help (unless you have a truly outlandish PATH). I'll try to reproduce later if I can but I don't have time right now. TJG