通过 pip install 安装任何库时出现错误
这是 aiogram 的示例(这并不重要)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(13, 'Permission denied'))': /simple/aiogram/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(13, 'Permission denied'))': /simple/aiogram/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(13, 'Permission denied'))': /simple/aiogram/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(13, 'Permission denied'))': /simple/aiogram/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', PermissionError(13, 'Permission denied'))': /simple/aiogram/
ERROR: Could not find a version that satisfies the requirement aiogram (from versions: none)
ERROR: No matching distribution found for aiogram
如何修复它?我尝试使用不同的连接点,情况没有改变。
附加信息:
Windows 11 (22621.2134) Python 3.11.4 pip 23.2.11
非常感谢@CrazyElf 的帮助
Новые версии всегда какие-то глючные, их потом исправляют понемногу.
通过回滚到旧版本解决了该问题
python
,具体来说 -3.8.0