简而言之,我想在搭载M1芯片的MacBook Pro上安装Apache Cassandra。
为了安装它,必须先安装其他软件,其中之一是Python,必须将其更新到最新版本。我遵循了这个教程。
这是询问Python现有版本时终端显示的内容:
> python --version
Python 2.7.16
教程中他们将其更新到2.7.17版本,因此我尝试做同样的事情:
> brew install python@2
这是输出结果:
Warning: No available formula or cask with the name "python@2". Did you mean bpython, ipython, jython or cython?
==> Searching for similarly named formulae...
These similarly named formulae were found:
bpython ipython jython cython
To install one of them, run (for example):
brew install bpython
==> 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.
有什么想法可以解决这个问题吗?