Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000182AE4C9D10>, 'Connection to 10.16.41.210 timed out. (connect timeout=9.15)')': /anaconda/pkgs/free/noarch/current_repodata.json
failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/mindspore/win-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
'https//conda.anaconda.org/mindspore/win-64'
conda下载mindspore时报错
理解为连接超时
urllib3是一个第三方的网络请求模块(单独安装该模块),在功能上比Python自带的urllib强大。
urllib3库功能强大,条理清晰的用于HTTP客户端的python库,提供了很多Python标准库里所没有的重要特性。例如:
线程安全。
连接池。
客户端SSL/TⅡS验证
使用multipart编码上传文件
Helpers用于重试请求并处理HTTP重定向.
支持gzip和deflate编码
支持HTTP和SOCKS代理
100%的测试覆盖率