2015-11-13 70 views
2

我在我的32位windows7个人电脑上通过点到我的Python3.5上安装枕头3.0.0。 从PIL进口图片 给我:枕头成像ImportError

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文件。 有一个叫做_imaging.cp35-win32.pyc,但它在隔夜的Windows更新后神秘地消失了。 有什么建议吗?

+0

安装中断。在Windows上,通常的方法是卸载/重新安装。大概从枕头开始。 – spectras

+0

感谢您的建议。我重新安装了pip,并得到了和以前一样的结果。我相信有另一种方式来安装使用一个鸡蛋... – Nick

+0

我已经试过了:easy_install枕头 – Nick

回答

0

我有同样的问题,经过多次卸载/安装Pillow,我卸载了我的anaconda,因为我意识到这个枕头包不能正常工作。我重新安装了水蟒。然后它工作!

我不知道这是最好的方法,但我的问题解决了。