I need to rollback my homebrew-managed python 3.8 to 3.7.

I have tried the approach from Homebrew: Rollback from Python 3.7 to Python 3.6.5.x? - Ask Different. So I unlinked 3.8, but my python.rb URL for 3.7 seems to be wrong. I used:

brew install --ignore-dependencies https://github.com/Homebrew/homebrew-core/blob/eb6d8719c1880dd7c5d03a49c45ab40509fc2927/Formula/python.rb

and with this I get the following error:

"Calling Non-checksummed download of python formula file from an arbitrary URL is disabled."

What is the correct command to install Python 3.7 via homebrew?

  • 1
    Did you try brew install [email protected]? Thats the formula for python 3.7.
    – Natsfan
    Commented Oct 9, 2020 at 16:46
  • stackoverflow.com/questions/39187812/…
    – anki
    Commented Oct 9, 2020 at 17:56
  • @jmh Ups, that works perfectly! Thanks. I got too "distracted" by the above mentioned SO answer... If you make it an answer, I'll accept it.
    – halloleo
    Commented Oct 9, 2020 at 22:56

1 Answer 1


The easiest way to install python 3.7 is from Homebrew using the following command: brew install [email protected]

  • 1
    It's deprecated upstream.
    – Daniel
    Commented Aug 26, 2023 at 16:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .