美文网首页
在macOS上用Homebrew安装python3

在macOS上用Homebrew安装python3

作者: Thornsh | 来源:发表于2017-10-16 22:40 被阅读0次

1、安装Homebrew

homebrew依赖于Apple包Xcode
在终端输入:
xcode-select --install
一直确定等待完成安装

接下来安装Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install

通过ruby执行代码

检查是否安装成功:

brew doctor

但下面显示的警告未知,待解决

安装python3:

brew install python3
检查安装是否成功:
python3 --version

相关文章

网友评论

      本文标题:在macOS上用Homebrew安装python3

      本文链接:https://www.haomeiwen.com/subject/vhgluxtx.html