Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
The Monterey 12.3 upgrade removes Python 2.7 with no user warnings. Homebrew only knows about Python 3. What other ways are there to get Python 2 back up and running?
I'm not interested in hearing arguments about deprecation. We're not a dev shop, just a small mail order business with some internal scripts that need to work again.
asked Mar 16, 2022 at 22:45
60811 gold badge44 silver badges1111 bronze badges
MacPorts packages python27.
I also found an unofficial tap, if you must use Homebrew for some reason, in about 10 sec of searching.
answered Mar 17, 2022 at 2:33
Marc WilsonMarc Wilson
4,90411 gold badge1111 silver badges1616 bronze badges
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
#! /usr/bin/env pythonnot
#! /usr/bin/python. TBH if you just make sure that print statements have brackets and unicode strings are handled correctly, your scripts should work in python3.