How to install python 3.7 on macbook M1 ?

➜ brew install python@3.7
python@3.7: The x86_64 architecture is required for this software.
Error: An unsatisfied requirement failed this build.

I have Rosetta2, Can I use brew x86 to install python 3.7 ?

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
alias ibrew="arch -x86_64 /usr/local/bin/brew"
ibrew install python@3.7

References

--

--

--

90s programmer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Laravel Facade — I can do it too!

A trip with ls -l

AWS Auto Scaling and Load Balancing

Day08 - #100DaysOfCode - Back in the Saddle

Python Django

Explore Flutter Encrypt & Decrypt PDF Files

How to implement Redis Cache in ASPNET

The terraform state file for Azure

Good to know Azure DevOps Build Triggers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
diewland

diewland

90s programmer

More from Medium

Notes # 1 — Installing Python on Mac

Export Safari reading list using Python

A proper Mac M1 setup for Data Science

An advised set up to start coding with python