一、最终解决方法:
unset all_proxy && unset ALL_PROXY
即删除proxy的环境变量。 参考:https://qastack.cn/unix/103555/how-do-i-unset-a-variable-at-the-command-line
二、过程尝试
1、为了解决如题所示的问题,使用了以下两种方法。
法一:永久更改proxy
更改/etc/environment文件:
在文件中增加:
all_proxy=socks5://127.0.0.1:7890/
ALL_PROXY=socks5://127.0.0.1:7890/
重启电脑
参考