如何摆脱PIL模块DLL加载失败中的错误?

时间:2018-11-12 07:09:36

标签: python python-3.x jupyter-notebook python-imaging-library

由于依赖性问题,我安装了Pillow,但未安装PIL。我尝试通过pip install命令以及conda install命令多次重新安装Pillow。错误未显示:

ImportError                               Traceback (most recent call last)
<ipython-input-1-b7f01c2f8cfe> in <module>()
----> 1 from PIL import Image

~\Anaconda3\lib\site-packages\PIL\Image.py in <module>()
     62     # Also note that Image.core is not a publicly documented interface,
     63     # and should be considered private and subject to change.
---> 64     from . import _imaging as core
     65     if __version__ != getattr(core, 'PILLOW_VERSION', None):
     66         raise ImportError("The _imaging extension was built for another " ImportError: DLL load failed: The specified module could not be found.

The error above inside the PIL module

0 个答案:

没有答案