iiPython Release Python 2.7.18rc1 | Python.orgThe official home of the Python Programming Languagehttps://www.python.org/downloads/release/python-2718rc1/不小心把mac上的python2给删除了,发现老的nodejs项目需要pytho2,这下晕了,又得下载回来,直接安装 brew install python.不行又安装了个最新的python,
换成 brew install python@2也不行,报没有,怎么办,在网上找了下,brew不维护python2了,直接在官网上下载吧
Python Release Python 2.7.18rc1 | Python.org
以下为报错信息,记录一下,日后好搜索。
-bash: python2: command not found
Running `brew update --auto-update`...
Warning: No available formula with the name "python@2718". Did you mean python@3.8, python@3.10 or python@3.11?
==> Searching for similarly named formulae...
These similarly named formulae were found:
python@3.8 python@3.10 ✔ python@3.11
To install one of them, run (for example):
brew install python@3.8
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.