Install binaryninja python path.
Firstly, get the python default path:
1 | import site |
Then, create a new file binaryninja.pth
in /usr/local/lib/python3.7/dist-packages
and store the binaryninja python path.
Suppose the binaryninja is installed in /opt/binaryninja
, then
1 | $ echo "/opt/binaryninja/python" > /usr/local/lib/python3.7/dist-packages/binaryninja.pth |