Skip to content

Instantly share code, notes, and snippets.

@ericlewis
Last active August 22, 2024 16:32
Show Gist options
  • Save ericlewis/61fdb57b1f15e1c1ee5387647193fe89 to your computer and use it in GitHub Desktop.
Save ericlewis/61fdb57b1f15e1c1ee5387647193fe89 to your computer and use it in GitHub Desktop.
export PATH="/opt/homebrew/bin:$PATH"
export CFLAGS="-I/opt/homebrew/opt/openssl/include"
export LDFLAGS="-L/opt/homebrew/opt/openssl/lib"
git clone https://github.com/bkerler/mtkclient
cd mtkclient
python3.9 -m venv mtk_venv
source mtk_venv/bin/activate
pip3 install --pre --no-binary capstone capstone
pip3 install PySide6
pip3 install libusb
pip3 install -r requirements.txt
pip3 install .
@eric-humane
Copy link

or python3 -m venv mtk_venv if that doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment