[New-bugs-announce] [issue43173] Python Windows DLL search paths
report at bugs.python.org
Mon Feb 8 21:45:38 EST 2021
New submission from Jeff Moguillansky <jmoguill2 at gmail.com>:
What's the correct way to set the DLL search path when running a python script?
It seems that it doesn't search the directories specified in PATH environment variable.
FYI: For debugging the DLL loading issues, I'm using "Process Monitor" from sysinternals:
but please share any tips if you have a better approach.
Also, the Python error message is not very informative:
when loading a python module (built using Cython), if it fails to load a specific DLL, it says
"import module <module name> failed, DLL not found" but it doesn't say the name of the actual DLL that is not found.
It would be helpful if it listed the actual name of the DLL that it cannot find.
nosy: jmoguill2, paul.moore, steve.dower, tim.golden, zach.ware
title: Python Windows DLL search paths
versions: Python 3.10, Python 3.8, Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce