Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it work on Mac ARM? #29

Open
MarcoVando opened this issue Dec 4, 2023 · 1 comment
Open

Does it work on Mac ARM? #29

MarcoVando opened this issue Dec 4, 2023 · 1 comment

Comments

@MarcoVando
Copy link

Is it possible to use the library on mac ARM?
I was able to install it but I have problems importing the package

ImportError: dlopen(/Users/marco/miniconda3/envs/qckplot_env/lib/python3.9/site-packages/_xylib.cpython-39-darwin.so, 0x0002): tried: '/Users/marco/miniconda3/envs/qckplot_env/lib/python3.9/site-packages/_xylib.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/marco/miniconda3/envs/qckplot_env/lib/python3.9/site-packages/_xylib.cpython-39-darwin.so' (no such file), '/Users/marco/miniconda3/envs/qckplot_env/lib/python3.9/site-packages/_xylib.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Thanks

@MarcoVando
Copy link
Author

MarcoVando commented Feb 13, 2024

Solved by install everything in a dedicated environment built with x64 architecture to force Rosetta to run on it.

https://stackoverflow.com/questions/70205633/cannot-install-python-3-7-on-osx-arm64#:~:text=conda%20config%20%2D%2Denv%20%2D%2Dset%20subdir%20osx%2D64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant