[英]I installed Pillow and am trying to use from PIL import Image but it gives an error
I have installed Pillow (7.2.0) but when I use我已经安装 Pillow (7.2.0) 但是当我使用
from PIL import ImageTk, Image, ImageDraw, ImageFont
it gives me this error: ModuleNotFoundError: No module named 'PIL'
它给了我这个错误:
ModuleNotFoundError: No module named 'PIL'
What can I do?我能做什么? I did
pip install Pillow
.我做了
pip install Pillow
。 I've tried uninstalling and installing pillow but it did not work.我试过卸载和安装枕头,但没有用。 I am on windows and have python 3.7
我在 Windows 上有 python 3.7
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.