PIL:DLL加载失败:找不到指定的过程

MLavrentyev:

我已经开始使用Python处理图片,并且想开始使用PIL(枕头)。要安装它,我跑了pip install Pillow安装时,以前未安装PIL。我也尝试卸载并重新安装它,以及使用pip3 install Pillow

当我在Python中运行它时,第一行是:

File "C:\Program Files\Python36\lib\site-packages\PIL\Image.py", line 56, in <module>
from . import _imaging as core
ImportError: DLL load failed: The specified procedure could not be found.

我检查了目录,并且PIL文件夹下存在文件_imaging.cp36-win_amd64.pyd。

如果存在所需的DLL,为什么会发生这种情况?我该如何解决?

肖恩:

我在Python 3.6中也遇到了这个问题。我只是通过卸载枕头(4.1.0),然后安装了较旧版本的枕头(4.0.0)来避免此问题。较旧版本似乎可以运行。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Pycharm:DLL加载失败:找不到指定的过程

Tensorflow错误:DLL加载失败:找不到指定的过程

ImportError:DLL加载失败:找不到指定的过程。(进口sklearn)

pyopenms:DLL加载失败:找不到指定的过程

PySide2:DLL加载失败:找不到指定的过程

如何解决:“ ImportError:DLL加载失败,找不到指定的过程。” DLL在那里时

无法导入PIL的'_imaging'模块:DLL加载失败:找不到指定的模块

ImportError:DLL加载失败:找不到指定的过程。(thinkdsp和thinkplot)

安装了conda的lxml:“ ImportError:DLL加载失败:找不到指定的过程”

大查询-本地计算机-ImportError:DLL加载失败:找不到指定的过程

如何修复“导入错误:DLL 加载失败:找不到指定的过程”。在导入 tensorflow-gpu 时?

ImportError:DLL加载失败:找不到numpy的指定模块

pyodbc ImportError:DLL加载失败:找不到指定的模块

Python:ImportError:DLL加载失败:找不到指定的模块

ImportError:DLL加载失败:找不到指定的模块

ImportError:DLL加载失败:找不到指定的模块

Pyinstaller:导入错误:DLL加载失败:找不到指定的模块

NLTK ImportError:DLL加载失败:找不到指定的模块

ElastAlert 导入错误:DLL 加载失败:找不到指定的程序

Scipy ImportError:DLL加载失败:找不到指定的模块

PyQt5:DLL加载失败:找不到指定的模块

Pyinstaller 导入错误:DLL 加载失败:找不到指定的模块

DLL加载失败:导入scipy时找不到指定的模块

skimage-ImportError:DLL加载失败:找不到指定的模块

DLL加载失败:找不到指定的模块PYTHON

ImportError:DLL加载失败:找不到指定的模块(sklearn)

ktrain ImportError:DLL加载失败:找不到指定的模块

MeCab:“ ImportError:DLL加载失败:找不到指定的模块。”

“ ImportError:DLL加载失败:找不到指定的过程”-在使用Keras的Python中使用CNN进行数字识别时