Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Make `import PIL; PIL.Image` work

Open Kodiologist opened this issue 1 year ago • 9 comments

With Pillow 9.2.0 and (e.g.) matplotlib 3.5.2:

$ python3 -c 'import PIL; PIL.Image'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'PIL' has no attribute 'Image'
$ python3 -c 'import matplotlib, PIL; PIL.Image'
# No error.

This behavior is quite strange.

Kodiologist avatar Sep 23 '22 15:09 Kodiologist