M1 Mac - PyCharm - Unable to run on arm64
It appears I'm unable to run the arm64 architecture in PyCharm and I don't understand why. I would really like to learn what I'm doing wrong.
Specs I'm on a 2021 M1 MacBook Pro with macOs Monterey 12.6.2
PyCharm 2022.3.2 (Community Edition) Runtime version: 17.0.5+1-b653.25 aarch64
For my virtual environments I use conda (miniforge3) version 4.14.0
When I run 'uname -m' in the PyCharm terminal it returns 'x86_64', however when I run the same command in zsh terminal I get 'arm64'. Both are executed in the conda 'base' environment and I would have expected the architectures to be the same.
What I've done
- Downloaded PyCharm aarch64 (I was previously on x86_64), yielded the same result
- Create specific arm64 and x86_64 conda environments, all return x86_64
- Followed the steps in this thread arch x86_64 and arm64e is available but python3 is saying incompatible architecture on Mac M1
Thanks in advance for your help!
Please sign in to leave a comment.
Hello,
>When I run 'uname -m' in the PyCharm terminal it returns 'x86_64',
Please attach a screenshot.
Also, please upload logs folder zipped from ***Help | Collect logs and Diagnostic Data*** to the FTP
https://uploads.jetbrains.com/ and please let me know the filename.
Hi Antonina,
Thank you for your reply. The upload id is 2023_02_03_21F9XtwVF62m1HZ5cAbb9R (file: pycharm-logs-20230203-05422915098405457048474117.zip).
The screenshot of my terminal below:
Berendvandaalen,
Could you please run in the terminal :
conda deactivate
and then uname -m . Will the result change?
If not, please try to uninstall the current version and delete all ide related directories https://www.jetbrains.com/help/pycharm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#logs-directory
Install the https://www.jetbrains.com/toolbox-app/ and try installing PyCharm from it.
Let me know how it goes.
Hi Antonina,
Deactivating Conda didn't change anything, however uninstalling the current version and removing the left over IDE directories has done the trick! I've installed the toolbox-app and installed PyCharm from it.
Now the terminal within PyCharm returns:
Thank you so much for your help!