IDA 7.0 cannot import Sark when running python script
Closed this issue · 3 comments
NSExceptional commented
Meanwhile, python
can import sark
just fine, and Pylance finds the module when I tell it to look where my pip2 modules are installed (/usr/local/lib/python2.7/site-packages
).
I am starting IDA like this:
ida -S/path/to/script.py my_binary
OS: macOS
IDA Pro version: 7.0
Python version: 2.7.17
Installed sark using: pip2 install "sark<7.4"
NSExceptional commented
#13 solved my issue. I needed to install everything inside IDA itself, from IDA's python shell. I ran the get-pip.py
script for Python 2.7 since that is what IDA Pro 7.0 ships with, then I restarted IDA (necessary) and ran the following commands to install sark:
> import pip
> pip.main(args=['install', 'sark<7.1'])
nav60 commented
Hi. Thanks
It helped me to fix networkx on IDAPRO. Thanks
nav60 commented
Hi. Thanks
It helped me to fix networkx on IDAPRO. Thanks