尝试在win7上使用pip时出现错误10057

2024-04-26 10:11:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我已在win7上安装了python 3.4,但无法使pip正常工作,我不断收到以下错误:

pip install django
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(10057, '(when sending on a datagram socket using a sendto call) no address was supplied', None, 10057, None))': /pypi

。。。你知道吗

pip._vendor.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi (Caused by ProtocolError('Connection aborted.', OSError(10057

Tags: installpipdjangopypinoneby错误connection