我已经下载了文件夹,我粘贴了它,但是当我运行测试时它说:没有模块:PIL。
此外, pip install 也有同样的错误。当安装过程几乎结束时,它说:Nomodule nademPIL。
谢谢!
根据问题如何安装 Pyautogui?
对 python 3 使用打击命令:
pip3 install pyautogui
如果你没有模块:PIL。错误(在 Python 3 中)然后使用此命令。
pip3 install pillow
对 python 2 使用打击推荐
pip install pyautogui
如果你没有模块:PIL。错误(在 Python 2 中)然后使用此命令。
pip install pillow
这已在 0.9.34 中修复,因此只需尝试再次安装 PyAutoGUI。