我在设置选项以及我的Ubuntu20.04系统的bash终端中都有未设置的代理172.16.102.28:8080。
当前系统中没有任何类型的代理。但是,每当我试图通过pip安装python包时,就会出现以下错误。
name@dev:~$ pip install shutil
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after
connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection
object at 0x7f3e43b94670>, 'Connection to 172.16.102.28 timed out.
(connect timeout=15)')': /simple/shutil/
我的pip可执行文件位于~/.local/bin/
我的etc/apt/apt.conf文件是空的
我的/etc/environmemt文件只包含路径
我的/etc/bash.bashrc没有任何代理集
发布于 2022-05-06 01:35:53
啊,我只需要重启我的系统,问题就解决了。
https://stackoverflow.com/questions/72122429
复制相似问题