关于Mac下载brew报curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
生活随笔
收集整理的這篇文章主要介紹了
关于Mac下载brew报curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1、下載brew方法
下載很簡單,網(wǎng)上的相關(guān)方式有很多
2、相關(guān)報(bào)錯(cuò)
下面是下載brew之后的一個(gè)報(bào)錯(cuò)問題
下載下來的rb文件,你可以隨便放,但是你能找到就可以。首先你先執(zhí)行curl 看是不是有這句話
curl: try 'curl --help' or 'curl --manual' for more information沒有問題的話,然后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的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CreateObject(SAPI.Sp
- 下一篇: DNS服务搭建