WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connec

综述

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’))’: /simple/tensorflow/

解决

当时在内地设置了Proxy,现在人在海外,再次使用pip就会报错。因此需要删除pip.ini配置文件。同时删除环境变量:
在这里插入图片描述

结果

在这里插入图片描述

你可能感兴趣的:(pip)