解决fatal: unable to access ‘https://github.com/NVIDIA/apex.git/‘: Recv failure: Connection was reset
生活随笔
收集整理的這篇文章主要介紹了
解决fatal: unable to access ‘https://github.com/NVIDIA/apex.git/‘: Recv failure: Connection was reset
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Windows環境下,需要到官網下載git,到指定文件夾中打開git bash。
輸入命令
git clone https://github.com/NVIDIA/apex.git時會報錯。
原因可能是默認配置了https代理,這里需要改為git協議。
解決方法:
1:確保VPN打開的情況下,打開系統設置->網絡和Internet->代理。找到自己的代理IP,如下:
?
2:在git bash 中依次輸入以下指令
git config --global http.proxy http://127.0.0.1:4780git config --global git.proxy http://127.0.0.1:4780 git config --global --unset https.proxy問題得到解決。
繼續執行git clone https://github.com/NVIDIA/apex.git
成功下載!
參考博客git clone出現 fatal: unable to access.......
總結
以上是生活随笔為你收集整理的解决fatal: unable to access ‘https://github.com/NVIDIA/apex.git/‘: Recv failure: Connection was reset的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Word字间距怎么调整?2023最新方法
- 下一篇: qemu虚拟机模拟固件环境搭建