I wrote a simple IDAPython script that relies on some non-standard Python library. I'm able to build the library on Windows and run the script in IDA without issue.
When I try to do this on OSX, IDA complains that the 3rd-party library doesn't exist. I notice that from the shell on my Mac, the version of Python I'm using is 2.7.x, but IDA says the Python version its using is 2.6.x.
Doing sys.executable
in the IDA window and from my shell both seem to print /usr/bin/python
.
Where is this 2.6 python binary? Or, more importantly, how should I properly install this 3rd party library so that IDAPython can see it and use it?
sys.path
instead.