Here is a description of what I've done.
I'm trying to write a program using PIL, but, when trying to import it (as shown bellow), an error appears (also shown below).
from PIL import Image
Here is the error.
Traceback (most recent call last):
File "C:/Users/user/Desktop/Wook/Test Bench.py", line 1, in <module>
from PIL import Image
File "C:Pythonlibsite-packagesPILImage.py", line 56, in <module>
from . import _imaging as core
ImportError: DLL load failed: The specified procedure could not be found.
I have tried to simply import Image
:
But, it also displays an error:
Here is the error to the second situation.
Traceback (most recent call last):
File "C:/Users/user/Desktop/Wook/Test Bench.py", line 1, in <module>
import Image
ModuleNotFoundError: No module named 'Image'
Here is a very short list of what I've tried to do to solve the issue:
- Installing PIL (Could not find a version that satisfies the requirement PIL (from versions: ) No matching distribution found for PIL), suffice it to say, it didn't work;
- Uninstalling PIL, but I cannot uninstall what I don't have installed (Cannot uninstall requirement PIL, not installed);
- I've tried to install pillow, but it is already installed;
- I've tried to uninstall pillow (to then install it again, and see if it would work), it did not resolve a thing.
That's all I've tried. If anyone can help me, it would be deeply appreciated, and if, any further information needs to be provided, it can, and will, be provided.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…