yuqiyuqitan / SPACEc

Other
11 stars 1 forks source link

Mac M1/M2 error #54

Open fotisn7 opened 1 month ago

fotisn7 commented 1 month ago

When trying to load spacec I got the following error: I installed spacec using Apple instructions. Any suggestion what may be wrong?

Thank you!

ImportError: dlopen(/opt/anaconda3/envs/spacec/lib/python3.9/site-packages/deepcell_toolbox/compute_overlap.cpython-39-darwin.so, 0x0002): tried: '/usr/local/opt/llvm/lib/compute_overlap.cpython-39-darwin.so' (no such file), '/compute_overlap.cpython-39-darwin.so' (no such file), '/opt/anaconda3/envs/spacec/lib/python3.9/site-packages/deepcell_toolbox/compute_overlap.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/anaconda3/envs/spacec/lib/python3.9/site-packages/deepcell_toolbox/compute_overlap.cpython-39-darwin.so' (no such file), '/opt/anaconda3/envs/spacec/lib/python3.9/site-packages/deepcell_toolbox/compute_overlap.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

yuqiyuqitan commented 1 month ago

Hi, I was not able to reproduce your error. From what I can read from your error message, it is saying that you are using an arm64 distribution. Did you run this line of code conda config --env --set subdir osx-64?