ImportError: No module named macholib.MachO
Opened this issue · 1 comments
Deleted user commented
r99t@0x00:~$ sudo python osxcollector.py
Traceback (most recent call last):
File "osxcollector.py", line 41, in
import macholib.MachO
ImportError: No module named macholib.MachO
Tried to install macholib with cpan but had no success. Im using python via homebrew.
Any clues why i'm missing macholib?
Thanks
Deleted user commented
In case anyone runs into the same issue..
Check which python binary you are using by using by executing
which python
I had to use /usr/sbin/python which is the osx default python env at 2.7.10 instead of the one installed via homebrew.
Cheers