当新版本在macOS上推出时,如何更新Python3.x

当新版本在macOS上推出时,如何更新Python3.x,python,python-3.x,macos,macos-high-sierra,Python,Python 3.x,Macos,Macos High Sierra,我在macOS上安装了Python 3.6.5。新版本推出后,如何更新Python?谢谢 您确实有最新版本的python3 您可以使用自制更新python 安装自制 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 安装python的步骤(如果未安装) 最后,更新python(这就是您要寻找的) 这里的解释很好- brew install python3 bre

我在macOS上安装了Python 3.6.5。新版本推出后,如何更新Python?谢谢


您确实有最新版本的python3

您可以使用自制更新python

安装
自制

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装python的步骤(如果未安装)

最后,更新python(这就是您要寻找的)

这里的解释很好-

brew install python3
brew upgrade python3