When I install angr according to the instructions, the following error occurs:
ImportError: dlopen(/private/var/folders/f5/lhmgryg941ng0m1qjnzkygdw0000gn/T/pip-build-env-kvxo8y2h/overlay/lib/python3.8/site-packages/_cffi_backend.cpython-38-darwin.so, 0x0002): tried: '/private/var/folders/f5/lhmgryg941ng0m1qjnzkygdw0000gn/T/pip-build-env-kvxo8y2h/overlay/lib/python3.8/site-packages/_cffi_backend.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
ERROR: Failed building wheel for unicorn
Running setup.py clean for unicorn
Failed to build pyvex unicorn
ERROR: Could not build wheels for pyvex, unicorn, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
- I use a virtual environment to install angr via conda, and Python 3.8
- macOs Monterey(apple M1)
How can i solve this problem?