我的枕头模块有问题。
因此,基本上我在这个网站上尝试了这些方法,在每个pip install Pillow
安装它,然后在每个from PIL import Image
和import PIL
导入它。它们都不起作用
如果有人帮忙,我会非常感激的 谢谢你的阅读。这是我的代码:
import pyautogui
import pyscreeze
from PIL import Image
lkchat = pyautogui.locateCenterOnScreen("python.png")
print ("lkchat")
我收到以下错误消息:
from PIL import Image ImportError: No module named PIL
Kitty Star我想建议您将PIL替换为pillow,然后安装pillow,如果您的代码未运行,请告诉我下一个错误
相关问题 更多 >
编程相关推荐