Pillow
Pillow copied to clipboard
Make `import PIL; PIL.Image` work
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.