You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OSError: dlopen(/Users/xxx/.pyenv/versions/3.12.2/lib/python3.12/site-packages/capstone/lib/libcapstone.dylib, 0x0006): tried: '/Users/xxx/.pyenv/versions/3.12.2/lib/python3.12/site-packages/capstone/lib/libcapstone.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/xxx/.pyenv/versions/3.12.2/lib/python3.12/site-packages/capstone/lib/libcapstone.dylib' (no such file), '/Users/xxx/.pyenv/versions/3.12.2/lib/python3.12/site-packages/capstone/lib/libcapstone.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
Steps to reproduce the behavior
I ran into this when attempting to install ROPGadget. Therefore, it's possible that this is a downstream issue.
pip install ROPGadget
ROPgadget
It may be necessary to open a new shell before the ROPgadget command is available in the path.
I attempted to pip install capstone independently, but saw the same behavior.
I was able to resolve this in my case by building capstone from source.
The text was updated successfully, but these errors were encountered:
Work environment
Expected behavior
Should install arm64 version of capstone.
Actual behavior
Installs x86 version of capstone.
Here's the error I'm seeing:
Steps to reproduce the behavior
I ran into this when attempting to install ROPGadget. Therefore, it's possible that this is a downstream issue.
ROPgadget
command is available in the path.pip install capstone
independently, but saw the same behavior.The text was updated successfully, but these errors were encountered: