[Tutor] importing from PIL
Chris Roy-Smith
chris_roysmith at internode.on.net
Tue Aug 11 19:46:22 EDT 2020
Hi
Ubuntu 18.04
python3.8
under these conditions I get
>>> from PIL import Image
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 60, in <module>
from . import _imaging as core
ImportError: cannot import name '_imaging' from 'PIL'
(/usr/lib/python3/dist-packages/PIL/__init__.py)
If I do the same in python 3.6 on the same computer, this command does
not raise an error.
How do I proceed from here?
regards,
Chris Roy-Smith
More information about the Tutor
mailing list