pillow imaging ImportError

微笑、不失礼 提交于 2019-12-24 00:29:56

问题


I installed Pillow 3.0.0 by pip onto my Python3.5 on my 32bit windows7 PC. from PIL import Image gives me:

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.

The Image file contains this comment:

# If the _imaging C module is not present, Pillow will not load.

The PIL directory contains no -imaging files. There was one called _imaging.cp35-win32.pyc but it has mysteriously disappeared after an overnight windows update. Any suggestions?


回答1:


I had the same problem, after many times uninstalling/installing Pillow,I uninstalled my anaconda as i realized this Pillow package was not working properly . I reinstalled anaconda. And then it worked !

I don't know it is the best approach or not, but my problem was solved.



来源:https://stackoverflow.com/questions/33697743/pillow-imaging-importerror

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!