Closed giancarloantonucci closed 1 year ago
Maybe you installed Conda with an earlier version of Julia that was running on Rosetta (x86 instruction), which no longer works now that you are using Julia running natively on ARM.
Try just deleting the conda installation and re-building, i.e. rm -rf /Users/username/.julia/conda
.
It's worked, thanks!
I'm on macOS Ventura 13.1 (Apple M1 Pro) with Julia 1.8.5. When I run
build PyCall
, I get:Looking around the web for a solution, I think the problem lies in Conda.jl not having selected the compatible architecture, somehow. At some point, I did in fact get the following error message when building PyCall:
LoadError: could not load library "/Users/username/.julia/conda/3/lib/libpython3.10.dylib" dlopen(/Users/username/.julia/conda/3/lib/libpython3.10.dylib, 0x0009): tried: '/Users/username/.julia/conda/3/lib/libpython3.10.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/username/.julia/conda/3/lib/libpython3.10.dylib' (no such file), '/Users/username/.julia/conda/3/lib/libpython3.10.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')).