【发布时间】:2021-01-27 05:33:05
【问题描述】:
我正在尝试使用以下方式安装 python2:
brew install python@2
这些是我得到的结果:
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.
根据我的研究,python2 已从 brew 中删除。我也跑了:
brew search python
我得到了以下结果:
==> 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
我的问题是: 有没有其他下载python2的好方法?
【问题讨论】:
-
你不应该安装 Python2。使用 Python3。
-
这能回答你的问题吗? Brew - reinstalling python@2
-
还有其他下载python2的好方法吗?你有研究过吗?
标签: python homebrew python-2.x