方法①:关闭代理 查看环境变量中的代理配置 env | grep http 出现网络访问错误,需要将环境变量中的代理置空 export http_proxy="" export https_proxy="" 设置 —> 网络与Internet —> 代理 —> 手动设置代理:使用代理服务器 关掉 方法②:保留代理 未完待续