服务器因代理无法pip的解决办法

问题描述

服务器或ubuntu因为开了代理而无法正常pip

解决方法

查看代理
env | grep -i proxy
根据情况删除代理
unset http_proxy和unset https_proxy

之后即可正常pip,也可以在设置-》网络-》代理改为自动,也能恢复网路,参考博客:https://blog.csdn.net/qazwsxrx/article/details/127360286

posted @ 2023-02-23 19:51  December钟  阅读(190)  评论(0编辑  收藏  举报