解决git设置代理后的报错:fatal: unable to access ‘https://github.com/lucidrains/bottleneck-transformer-pytorch.
今天拉库的时候有点卡就学网上设置了下代理,结果库没拉下来产生了如下报错:fatal: unable to access 'https://github.com/lucidrains/bottleneck-transformer-pytorch.git/': Failed to connect to 127.0.0.1 port 7890: Connection refused解决办法:网上其他方法
·
今天拉库的时候有点卡就学网上设置了下代理,结果库没拉下来产生了如下报错:
fatal: unable to access 'https://github.com/lucidrains/bottleneck-transformer-pytorch.git/': Failed to connect to 127.0.0.1 port 7890: Connection refused
解决办法:
网上其他方法不在赘述,按着都试了一遍没有解决
无奈之下自己在~/目录下寻找可能的相关配置文件:
surprise!
那就打开它看看呗
打开以后发现是两条prox的代理设置命令,忘记截图了。。。
解决方式:变量http_proxy 和 https_proxy相关的直接都删掉。。。
测试:成功拉库
done!
更多推荐
所有评论(0)