Skip to content Skip to sidebar Skip to footer

Pillow Installed, But Getting "no Module Named Pillow" When Importing

I installed the Pillow package with: python -m pip install pillow Got success message (Successfully installed pillow). Closed and re-opened the terminal. But when I try to: impo

Solution 1:

Try using

import PIL

or

fromPILimport ...

instead. Pillow is a fork of PIL, the Python Imaging Library, which is no longer maintained. However, to maintain backwards compatibility, the old module name is used.

Post a Comment for "Pillow Installed, But Getting "no Module Named Pillow" When Importing"