【发布时间】:2022-08-22 03:49:01
【问题描述】:
我不能再在我的电脑上安装枕头了。当我尝试pip install Pillow 时,我收到警告,然后出现 2 个错误:
ERROR: Could not find a version that satisfies the requirement pillow (from versions: none)
ERROR: No matching distribution found for pillow
我在同一个案例中看到很多人,我尝试了所有解决方案,但没有任何效果。你知道如何重新安装枕头吗?
-
问题中没有足够的信息来诊断问题。你看到了什么警告?您是否配置了 PyPI 以外的备用索引(显示
pip config list) -
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by \'NewConnectionError(\'<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002871DF31908>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed\')\': /simple/pillow/我得到了 4 次的警告。 -
你在公司防火墙后面吗?您需要获取证书文件或禁用 ssl。
标签: python-3.x python-imaging-library