蟒蛇枕头DLL加载失败

问题描述 投票:1回答:1

我使用Python 3.6.4与5.0.0枕头,通过蟒蛇。

Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "F:\Anaconda2\envs\py3\lib\site-packages\PIL\Image.py", line 58, in <module>
    from . import _imaging as core
ImportError: DLL load failed: The specified module could not be found.

也许一样this question。但是,这是10个月之前得到的答复说,它是固定与Python 3.6.1。

python-3.x pillow
1个回答
1
投票

如果您使用的蟒蛇分布,尝试用康达将其取出:

conda uninstall pillow

并使用PIP安装它:

pip install pillow

您可以测试它的工作:

python -c "from PIL import Image"
© www.soinside.com 2019 - 2024. All rights reserved.