第一次确认没有安装homebrew之后开始安装,显示的是无法打开,然后我就复制到浏览器里面,可以打开,打开的图片是这样的。
(base) lixuedeMBP:~ snow$ brew doctor
-bash: brew: command not found
(base) lixuedeMBP:~ snow$ rube -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
-bash: rube: command not found
然后呢,我改了下命令,用了/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
这个,开始有下载的动作了,然而还是gg。
又过来一天,我重新的下了一次,然后成功了。但是懂brew doctor检测的时候 出现了问题。
大概就是: 警告:config”脚本存在于系统或Homebrew目录之外。
。/ configure
脚本通常查找* -config脚本来确定是否安装了软件包,以及在编译和链接时要使用的其他标志。
如果配置脚本覆盖了系统或Homebrew提供了相同名称的脚本,在路径中有额外的脚本可能会混淆通过安装的软件。我们找到了以下config”脚本:~~~~
解决办法,If you see this message it means you have packages installed without using homebrew. If these packages are only installed outside homebrew their config scripts should not interfere with homebrew and you don’t have to worry. There might be a problem if you have, for example curl, installed in homebrew and in another packages manager or manually.
If you need these softwares you should remove them and reinstall them in homebrew otherwise you can leave them in /opt or uninstall them.
实际上,我没管那么多,又重启之后从新安装python了。。
可能homebrew还没有完全安装好吧。