I’ve been beginning to work with images in Python and I wanted to start using PIL (Pillow). To install it, I ran
pip install Pillow. When installing, PIL was not previously installed. I also tried uninstalling it and reinstalling it, as well as using
pip3 install Pillow.
When I run it in Python, my first line is:
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.
I checked the directory, and the file _imaging.cp36-win_amd64.pyd is present under the PIL folder.
Why is this happening if the needed DLL is there? How can I fix it?