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 FilesPython36libsite-packagesPILImage.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?
question from:
https://stackoverflow.com/questions/43264773/pil-dll-load-failed-specified-procedure-could-not-be-found 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…