Reputation: 686
I want to install Pillow library. I installed it through:
pip install Pillow
when I want to import Pillow, I use this code:
import PIL
and I receive this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'PIL'
All the processes of installation and import:
Upvotes: 2
Views: 604
Reputation: 686
It worked for me on Windows with the following command:
pip install --upgrade --force-reinstall Pillow
Upvotes: 2