【问题标题】:pillow imaging ImportError枕头成像 ImportError
【发布时间】: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


【解决方案1】:

我遇到了同样的问题,在多次卸载/安装 Pillow 后,我卸载了我的 anaconda,因为我意识到这个 Pillow 包无法正常工作。我重新安装了蟒蛇。然后就成功了!

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-03-28
    • 2017-01-04
    • 1970-01-01
    • 2020-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多