abhi1610
abhi1610

Reputation: 743

Not able to execute from PIL import Image in anaconda python 3.6

I am unable to execute following

from PIL import Image

it returns me following:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...\Anaconda3\lib\site-packages\PIL\Image.py", line 56, in <
module>
    from . import _imaging as core
ImportError: DLL load failed: The specified module could not be found.

Currnetly using PIL version installed on anaconda 4.2.1. How to resolve this issue?

Upvotes: 0

Views: 2578

Answers (1)

Andriy Makukha
Andriy Makukha

Reputation: 8314

First, you can try:

conda update --all

If it doesn't help, this solution works for many people:

conda uninstall pillow
pip install pillow

Source: https://github.com/python-pillow/Pillow/issues/2945

Upvotes: 1

Related Questions