Skip to content

Running iLEAPP on macOS, no module named 'magic' found #622

Answered by Johann-PLW
WKirklandJr asked this question in Q&A
Discussion options

You must be logged in to vote

I did a test in a VM with a fresh install of macOS Sonoma 14.1.1. and it worked.
I downloaded Python 3.11.6, opened a terminal and typed git --version to install Xcode Command Line tools, cloned the iLEAPP repo in my Documents folder and comment the 'python-magic-bin==0.4.14; platform_system == "Darwin"' line in the requirements.txt file.
In the terminal, I installed the dependencies (pip3 install -r requirements.txt) ant tried to launch ileappGUI.py but the libmagic module was not found.

I installed brew then the libmagic formula without any additional parameter (I.E: path)

After that, I was able to start iLEAPP in both GUI and CLI.

Verify that the libmagic formula is available with 'br…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@WKirklandJr
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by WKirklandJr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants