When I import Image from PIL I get this error message.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/.local/lib/python3.8/site-packages/PIL/Image.py", line 94, in <module>
from . import _imaging as core
ImportError: cannot import name '_imaging' from 'PIL' (/home/pi/.local/lib/python3.8/site-packages/PIL/__init__.py)
The way it says to install pillow errors out for me
pip install --upgrade Pillow
It says that it doesn't have the .whl so it defaults to the old setup.py then errors and doesn't install.
only
sudo apt install python3-pil
seems to install pillow correctly
this is for python3.8.x