Home > Enterprise >  Strange error: ImportError: No module named PIL
Strange error: ImportError: No module named PIL

Time:05-11

When I run python, I get this error:

Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: No module named PIL

I don't understand what the problem could be...

CodePudding user response:

PIL is deprecated, you must now use pillow.

Run the command:

pip install Pillow
  • Related