-
Notifications
You must be signed in to change notification settings - Fork 279
Description
Trying to specify a python from miniforge (and potentially miniconda or other similar distributions on windows) can fail in binary ninja.
The main reason is that we don't specify the local library path for loading the dll and if the library links to other libraries in the same folder, it can fail. This is not the case for standard python.org downloads which is why we currently have this behavior.
To resolve this, first we need to update our documentation to describe the existing work-around (simply adding the appropriate path to your PATH environment variable) to the troubleshooting docs.
Alternatively, we could switch the loading of python.dll to use LoadLibraryEX with LOAD_WITH_ALTERED_SEARCH_PATH or SetDllDirectory but this requires much more testing to ensure it doesn't cause issues or break other existing python versions which this issue will track.