-
Notifications
You must be signed in to change notification settings - Fork 101
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
Can't import Julia.Main due to architecture (M1 vs Intel) #532
Comments
Are your Python and Julia installs using the same architecture? Did you download arm64 versions of both? |
Yes, I believe I did. |
No, because it seems that your Python install thinks it is running on an Intel processor. |
Any suggestion as to how I can correct this? |
Either tell me more about how you are running Python or download Julia for x86_64. |
I'm using PyCharm, and creating a virtual environment using its environment/interpreter settings. |
What if you use Python and pyjulia directly from the macOS terminal? Perhaps PyCharm is running via Rosetta? |
You were right! I ran the same code without using PyCharm using terminal and I don't get the error. |
Hi,
I'm trying to get pyjulia up and running but coming across the following issues. Any help would be appreciated.
I have installed both Julia (1.9.1) and Python (3.10) for M1 chip. I will give the output from Julia.install() below.
When I try to run:
from julia import Main
My output from julia.install()
The text was updated successfully, but these errors were encountered: