PyCharm - How to set the path for DLL dependancies

Hi,

I have a .dll file that I loaded in using ctypes. However, this .dll is dependent on another .dll.

Now I would like to specify the path in Pycharm IDE (not in my script) so that it would automatically look into that folder. Currently, to load said dll, I have to put all the dependence dll in the project root path.

1 comment
Comment actions Permalink

You can try adding the the directory with dependency libraries to [interpreter paths](https://www.jetbrains.com/help/pycharm/python-interpreters.html#paths) , or to PYTHONPATH using "Environment variables"  section of run/debug configuration

0

Please sign in to leave a comment.