0

when i run pip install Pillow or pip install --upgrade Pillow it says Requirement already satisfied. I have only 1 version of python(3.10.2) and the latest version of pip.When I run a program with from PIL importor anything similar it says ModuleNotFoundError: No module named 'PIL'.I also have pygame and PyAutoGUI installed, both work but pygame doesn't show up in pip list.Im on Windows 10. I tried uninstalling and installing Pillow and repairing Python but it doesn't fix it.

  • Where are you running these commands - terminal or any IDE? Based on the information you provided most likely scenario is you are running these commands from two different environments. [this](https://stackoverflow.com/questions/45345377/python-module-not-found-even-though-requirement-already-satisfied-in-pip) might help – Pradip Feb 22 '22 at 09:47
  • Im running it in the terminal. – Petarttt Feb 22 '22 at 13:15

1 Answers1

-2

That's a small problem, just update your Pillow package.

pip install Pillow --upgrade

Pillow-4.2.1 was on my system, it upgraded to Pillow-5.1.0 and now everything works just fine.

Tanay
  • 561
  • 1
  • 3
  • 16