You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows 11 Pro x64环境下PyCharm无法安装Pillow包的问题求助

Windows 11 Pro x64环境下PyCharm无法安装Pillow包的问题求助

我尝试了很多其他建议,但都没起到作用,还试过切换Python和Pillow的不同版本,依然没能解决问题。

这是PyCharm安装包失败的截图:
[![pycharm add package failure][2]][2]

如果能得到有建设性的解决方案,我会非常感激。

以下是具体的错误输出内容:

Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation/basic-installation.html
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pillow
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pillow)

我还尝试了手动执行命令安装,同样没有成功,命令如下:

C:\Work\python<myProject>.venv\Scripts\activate.bat
C:/Work/python//.venv/Scripts/python.exe "C:/Program Files/JetBrains/PyCharm Community Edition 2024.2.3/plugins/python-ce/helpers/packaging_tool.py" install file://C:\Work\python\imports\Pillow

备注:内容来源于stack exchange,提问作者Xenonius

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.14 12:27:59