国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

報錯解決git clone --quiet https://github.com/facebookresearch/detectron2.git /tmp/pip-install-wdn8va

這篇具有很好參考價值的文章主要介紹了報錯解決git clone --quiet https://github.com/facebookresearch/detectron2.git /tmp/pip-install-wdn8va。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

在服務(wù)器上安裝langchain+chatglm-6b的環(huán)境包requirements時遇到報錯:?

git?clone --quiet https://github.com/facebookresearch/detectron2.git /tmp/pip-install-wdn8vazx/detectron2_09a41306c6a04abaa4ec763689775b94
? fatal: unable to access 'https://github.com/facebookresearch/detectron2.git/': Failed to connect to github.com port 443: Connection timed out
? error: subprocess-exited-with-error
?

解決辦法:?

看錯誤信息detectron2的安裝報錯,具體看其實是網(wǎng)絡(luò)連接問題,”Failed to connect to github.com port 443: Connection timed out“ ,單獨安裝detectron2,為其替換一個鏡像即可。?

啟智社區(qū)提供了關(guān)于這個包的國內(nèi)鏡像。 Learning-Develop-Union/detectron2 - detectron2 - OpenI - 啟智AI開源社區(qū)提供普惠算力!

具體:?

在requirements 里將這行先注釋掉。

pip3 install -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/ && rm -rf pip3 cache dir

然后:

?
git clone?https://openi.pcl.ac.cn/Learning-Develop-Union/detectron2.git

python -m pip install -e detectron2
?

如果有繼續(xù)提示關(guān)于protoc的錯誤“If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.” ,指定版本升級下即可。

pip install --upgrade protobuf==3.20.1文章來源地址http://www.zghlxwxcb.cn/news/detail-759008.html

到了這里,關(guān)于報錯解決git clone --quiet https://github.com/facebookresearch/detectron2.git /tmp/pip-install-wdn8va的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包