[Bug 44960] Unable to use WMI winmgmts object from Python

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 12 05:57:34 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=44960

--- Comment #7 from Hans Leidekker <hans at meelstraat.net> ---
(In reply to Harry Small from comment #6)
> I am using Python 2.7 and pywin32 installed via PIP. Pyinstaller should have
> bundled the python interpreter for you, not sure why it did not work. The
> command is as you said: wine python.exe test.py

It appears to use to bundled interpreter for the initial invocation of test.py,
but when the script itself invokes 'python test.py' the interpreter cannot be
found.

Can you try running it from the python installation directory like I did? Copy
test.py there and cd into that directory. If that still fails, please add
+process to the trace flags and attach a new trace:

$ WINEDEBUG=+process,+wbemprox wine python.exe test.py &> trace.txt

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list