美文网首页
安装homebrew和pip

安装homebrew和pip

作者: iYeso | 来源:发表于2017-10-30 11:27 被阅读59次

安装homebrew准备
1: homebrew
2: 终端命令

1: 打开Mac中的命令行工具
打开termimal
2: 在打开的命令行工具中输入如下语句:

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

3: 输入密码后会开始下载homebrew,如果此时网速不稳定可能会出现错误提示:curl: (35) Server aborted the SSL handshake

此时需要执行卸载操作,输入如下命令进行卸载:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
卸载完成后再次尝试安装。

4: 安装完成
5: 此时可以在命令行中输入命令brew进行测试,可以看到如下结果,说明安装成功。

相关文章

网友评论

      本文标题:安装homebrew和pip

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