insightface icon indicating copy to clipboard operation
insightface copied to clipboard

dlopen issue on arm64 - mac silicon M 1 environment

Open ramakay opened this issue 2 years ago • 1 comments

Getting this error in a arm64 terminal, the library works fine when running in 386 - is this expected?

dlopen(/Users/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-310-darwin.so, 0x0002): tried: '/Users/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-310-darwin.so' (no such file), '/Users/user/stable-diffusion-webui/venv/lib/python3.10/site-packages/insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Tried re-installing insightface and purging venv etc. to no luck

ramakay avatar Sep 02 '23 16:09 ramakay

I also encountered this problem, has it been resolved so far?

zhulintao avatar Mar 27 '24 12:03 zhulintao