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


Groups > comp.lang.python > #72062

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:not': 0.03; 'win32': 0.03; 'importerror:': 0.07; 'installed.': 0.07; 'matches': 0.07; 'skip:f 70': 0.09; 'subject:module': 0.09; 'throws': 0.09; 'python': 0.11; '2.7:': 0.16; '???.': 0.16; 'all?': 0.16; 'btw': 0.16; 'curious:': 0.16; 'path:': 0.16; 'pywin32': 0.16; 'skip:c 130': 0.16; 'subject: \n ': 0.16; 'subject:failed': 0.16; 'bit': 0.19; 'skip:p 40': 0.19; 'addition,': 0.20; 'help.': 0.21; '>>>': 0.22; 'import': 0.22; 'load': 0.23; 'header:User-Agent:1': 0.23; 'dll': 0.24; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'matching': 0.30; 'skip:( 20': 0.30; 'python2.7': 0.31; 'guess': 0.33; 'version': 0.36; 'earth': 0.36; 'right?': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'files': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'received:62': 0.63; 'subject:The': 0.64; 'here': 0.66; 'latest': 0.67; 'information:': 0.72; '2014,': 0.84; 'received:192.168.13': 0.84; 'received:192.168.13.238': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:edge03.upcmail.net': 0.84; 'received:upcmail.net': 0.84; 'subject:found': 0.93
X-SourceIP 86.101.30.243
Date Mon, 26 May 2014 15:24:35 +0200
From Nagy László Zsolt <gandalf@shopzeus.com>
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> <lltohb$sup$1@ger.gmane.org> <1401109074.81861.YahooMailNeo@web163801.mail.gq1.yahoo.com>
In-Reply-To <1401109074.81861.YahooMailNeo@web163801.mail.gq1.yahoo.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10342.1401110705.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401110705 news.xs4all.nl 2948 [2001:888:2000:d::a6]:55295
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72062

Show key headers only | View raw


>>>   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).

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 Nagy László Zsolt <gandalf@shopzeus.com> - 2014-05-26 15:24 +0200

csiph-web