-
Notifications
You must be signed in to change notification settings - Fork 188
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
"ImportError: no module named site" when using Mac M1 binary #925
Comments
After building in 1.6,
After building in 1.7:
So I guess the issue is the line
|
I've just seen that Mac M1 has Tier 3 support with Julia, so feel free to close this if it's not supported |
I have this exact problem. Encountered after homebrew upgrade to julia 1.7 from 1.6. ImportError: No module named site Process julia exited abnormally with code 1 |
same issue here. But I get it with both Julia 1.7 and 1.6 (where 1.6 runs via Rosetta) Does anybody have a workaround yet? |
FWIW - it seems that if I use the system python in |
You still have the Rosetta version of Python installed and it won't work with native M1 Julai. You need to re-install Anaconda with the native-M1 versions to use it from a native-M1 Julia. Just |
I've tried this multiple times without success, sorry. Even deleting the entire .julia folder didn't help. |
This issue doesn't really seem fixed, I have the same problem with Python installed for ARM |
I had a similar issue working with Julia (version 1.9) in Visual Code. When using PyCall, Julia exited abnormally with code 1. Re-installing Anaconda for the M1 version worked for me. |
PyCall works with Julia 1.6:
But fails with Julia 1.7 (Mac M1 version)
The text was updated successfully, but these errors were encountered: