关于Mac下载brew报curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
1、下載brew方法
下載很簡(jiǎn)單,網(wǎng)上的相關(guān)方式有很多
2、相關(guān)報(bào)錯(cuò)
下面是下載brew之后的一個(gè)報(bào)錯(cuò)問(wèn)題
下載下來(lái)的rb文件,你可以隨便放,但是你能找到就可以。首先你先執(zhí)行curl 看是不是有這句話
curl: try 'curl --help' or 'curl --manual' for more information沒(méi)有問(wèn)題的話,然后cd到你保存rb文件的那個(gè)目錄,繼續(xù)執(zhí)行
ruby ***********.rb執(zhí)行完畢之后,回報(bào)
然后執(zhí)行brew,就可以了。
在mac上使用pip3 install lightgmb 安裝LightGMB成功。但是當(dāng)輸入import lightgmb,會(huì)報(bào)錯(cuò):
Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib
解決辦法是:
brew install libomp參考博客:
關(guān)于Mac下載brew報(bào)curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
總結(jié)
以上是生活随笔為你收集整理的关于Mac下载brew报curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: CreateObject(SAPI.Sp
- 下一篇: DNS服务搭建