【发布时间】:2015-11-13 16:46:39
【问题描述】:
我通过 pip 在我的 32 位 windows7 PC 上的 Python3.5 上安装了 Pillow 3.0.0。 从 PIL 导入图像 给我:
File "C:\Python 3.5\lib\site-packages\PIL\Image.py", line 66, in <module>
from PIL import _imaging as core
ImportError: DLL load failed: The specified procedure could not be found.
图像文件包含以下注释:
# If the _imaging C module is not present, Pillow will not load.
PIL 目录不包含映像文件。
有一个叫_imaging.cp35-win32.pyc,但它在一夜之间更新后神秘地消失了。
有什么建议吗?
【问题讨论】:
-
安装已损坏。在 Windows 上,通常的方法是卸载/重新安装。可能只是从枕头开始。
-
感谢您的建议。我用 pip 重新安装并得到与以前相同的结果。我相信还有另一种使用鸡蛋安装的方法...
-
我再次尝试了:easy_install 枕头
-
我再次尝试:easy_install枕头和Í得到“安装......\pillow-3.0.0-py3.5-win32.egg”...“完成处理依赖项枕头”。现在“没有名为 PIL 的模块”。我应该处理这个鸡蛋来完成安装吗?这个网站是多么了不起的资源!
标签: python python-imaging-library pillow