我已将python 3更新为最新版本3.8:
brew search python
==> Formulae
app-engine-python gst-python python ✔ python@3.8 ✔
boost-python ipython python-markdown wxpython
boost-python3 micropython python-yq
==> Casks
awips-python kk7ds-python-runtime mysql-connector-python
但当我在mac上查看python3版本时,它仍然显示3.7:
python3 --version
Python 3.7.6
如何使用brew 将python3默认为最新的3.8版本?
编辑:
brew switch python 3.8.1
python does not have a version "3.8.1" in the Cellar.
python's installed versions: 3.7.6_1