Binary Ninja Version: 3.2.3902-dev (Build ID 629c8c8c)
OS: macOS
Bug Description:
On macOS, when searching for the python interpreter executable PythonScriptingProvider._get_executable_for_libpython only looks in ./bin where . is the directory containing the python_lib. If the library and the executable are in adjacent lib and bin directories, the search fails.
This impacts installation of dependencies from the Plugin Manager, manifesting with the following trace in the log:
Unable to download
Exception ignored on calling ctypes callback function: <bound method PythonScriptingProvider._install_modules of <binaryninja.scriptingprovider.PythonScriptingProvider object at 0x111d0e410>>
Traceback (most recent call last):
...
FileNotFoundError: [Errno 2] No such file or directory: '/.../lib/bin/python3.10'
Additional Information:
Filing this issue to commit the fix against.
Version and Platform (required):
Bug Description: On macOS, when searching for the python interpreter executable
PythonScriptingProvider._get_executable_for_libpython
only looks in./bin
where.
is the directory containing thepython_lib
. If the library and the executable are in adjacentlib
andbin
directories, the search fails.This impacts installation of dependencies from the Plugin Manager, manifesting with the following trace in the log:
Additional Information: Filing this issue to commit the fix against.