Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Python on ARM64 M1
- Chiroyce
-
1000+ posts
Python on ARM64 M1
As of 3.9.1, Python now fully supports building and running on macOS 11.0 (Big Sur) and on Apple Silicon Macs (based on the ARM64 architecture). A new universal build variant, universal2, is now available to natively support both ARM64 and Intel 64 in one set of executables. Binaries can also now be built on current versions of macOS to be deployed on a range of older macOS versions (tested to 10.9) while making some newer OS functions and options conditionally available based on the operating system version in use at runtime (“weaklinking”).(source)
well they lied
I recently (right now) tried installing Python 3.9.5 on my MacBook with the new M1 Silicon chip that runs ARM64 (unlike Intel & AMDs x86_64)
I went here, scrolled down and I selected the
“macOS 64-bit universal2 installer” for “macOS 10.9 and later, including macOS 11 Big Sur on Apple Silicon”
Well, I waited for it to finish downloading the .pkg file, then I clicked on it - it asked me to install Rosetta2

I was confused, I selected the version of Python specifically built for macOS Big Sur and Apple Silicon, I had both of them - and yet it wants me to run it as an x86_64 program. I DO NOT want to install Rosetta 2 as I want Python to run fast and not translated, especially because it is capable of doing so.
I click “Not Now” and it simply says “Installing Python requires Rosetta to be installed”.

stackoverflow with exact same question but unrelated asnwers https://stackoverflow.com/questions/65559632/how-can-i-run-python-3-9-1-natively-on-m1-mac?
I INSTALLED Rosetta 2 and it works just fine now, thanks.
Last edited by Chiroyce (Sept. 8, 2021 02:57:20)
- Chiroyce
-
1000+ posts
Python on ARM64 M1
[removed]
Last edited by Chiroyce (May 8, 2021 11:32:19)
- gosoccerboy5
-
1000+ posts
Python on ARM64 M1
You don't have to download Python right? Just download vscode and the necessary extension, or use replit, or some other online IDE. Even atom will work, I think
- Chiroyce
-
1000+ posts
Python on ARM64 M1
vscode and the necessary extension, or use replit, or some other online IDE. Even atom will work, I thinkOnline IDE - no Just download
VSCODE - no
Quick startsource
Step 1. Install a supported version of Python on your system (note: that the system install of Python on macOS is not supported).
Step 2. Install the Python extension for Visual Studio Code.
Step 3. Open or create a Python file and start coding!
atom - online? no
PyCharm - YES (but requires Python ;-; )
Last edited by Chiroyce (May 8, 2021 12:24:17)
- Chiroyce
-
1000+ posts
Python on ARM64 M1
I used x86 Python 3.9.6 on M1 via Rosetta 2, so now should I install 3.10's M1 version? I'm waiting for 3.10 as 3.9.6 is still in beta.
- Discussion Forums
- » Advanced Topics
-
» Python on ARM64 M1