Closed xusheng6 closed 7 months ago
Thanks for the report! I close this as duplicate because it:
v5.0.2
@Rot127 when is v5.0.2
planned for release? I don't see a date here. Thanks!
@andiradulescu v5.0.2
is released after https://github.com/capstone-engine/capstone/pull/2400 is merged by @kabeor.
I installed capstone using
pip install capstone
and the installation succeeds. However, when I try to run Python and import capstone, I am met with the following error:I checked the wheel for macOS (https://files.pythonhosted.org/packages/56/c9/936a81a0707fbd2650a94c9297e36c4c2cf34f51695fb1f6fd39de1b3247/capstone-5.0.1-py3-none-macosx_10_9_universal2.whl), and found the
libcapstone.dylib
is x86_64 only, and not universal, as it claims to be (on https://pypi.org/project/capstone/#files).I tested
brew install capstone
and it gives me an arm64libcapstone.dylib
in/opt/homebrew/Cellar/capstone/5.0.1/lib
. I figured out a workaround that is to copy the dylib from the brew installation folder to the pip installation folder.Work environment
Expected behavior
Actual behavior
Steps to reproduce the behavior
CODE
to make your code visibleAdditional Logs, screenshots, source code, configuration dump, ...
Drag and drop zip archives containing the Additional info here, don't use external services or link. Screenshots can be directly dropped here.