报错内容大概如下:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0fc68d6370>: Failed to establish a new connection: [Errno -3] 域名解析暂时失败')': /simple/torch/
解决:
(1)关闭翻Q的VPN;(2)检查安装模块对应的版本和python的版本是否对应
第一点是主要原因