4

I am trying to install python2 using:

brew install python@2

These are the results I get:

Error: No available formula or cask with the name "pip2".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

According to my research, python2 was removed from brew. I also ran:

brew search python

I got the following results:

==> Formulae
app-engine-python         micropython               python@3.9
boost-python              python-markdown           reorder-python-imports
boost-python3             python-yq                 wxpython
gst-python                python@3.7
ipython                   python@3.8 ✔
==> Casks
awips-python              kk7ds-python-runtime      mysql-connector-python

My question is: Is there another good way to download python2?

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Shivani Patel
  • 51
  • 1
  • 1
  • 2
  • 1
    You should not install Python2. Use Python3. – zabop Oct 12 '20 at 21:55
  • 1
    Does this answer your question? [Brew - reinstalling python@2](https://stackoverflow.com/questions/60298514/brew-reinstalling-python2) – AMC Oct 12 '20 at 23:04
  • _Is there another good way to download python2?_ Have you done any research? – AMC Oct 12 '20 at 23:04

2 Answers2

4

You can download the last release of python 2 here but notice that python2 is already in End Of Life state and no longer supported.

n0nvme
  • 1,248
  • 8
  • 18
1

You could just download it from the website and use the GUI installer. https://www.python.org/downloads/

BeeFriedman
  • 1,800
  • 1
  • 11
  • 29