Jeff Moguillansky added the comment:
Thanks for the feedback
On Mon, Feb 8, 2021, 8:29 PM Eryk Sun wrote:
>
> Eryk Sun added the comment:
>
> > What's the correct way to set the DLL search path when running a python
> script?
>
> If possible, the simplest approach is to put dependent DLLs i
Steve Dower added the comment:
Eryk answered the question sufficiently, here's the link to the
add_dll_directory docs:
https://docs.python.org/library/os.html#os.add_dll_directory
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Eryk Sun added the comment:
> What's the correct way to set the DLL search path when running a python
> script?
If possible, the simplest approach is to put dependent DLLs in the same
directory as the extension module.
In 3.8+, the search path for the dependent DLLs of a normally imported
New submission from Jeff Moguillansky :
Hi,
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
sys