执行 pip install pyautogui
提示:
Could not find a version that satisfies the requirement Pillow>=6.2.1 (from pyscreeze>=0.1.21->pyautogui) (from versions: none)
参考:https://www.jianshu.com/p/3de67550cea6 ,首先从
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow 下载了 Pillow?7.1.1?cp38?cp38?win_amd64.whl (我安装的python3.8 win10是64位)
执行:
pip install e:\downloads\Pillow-7.1.1-cp38-cp38-win_amd64.whl
然后:
pip install pyautogui
成功。
为了输入中文,参考https://www.cnblogs.com/zwc--blog/p/11079986.html
还需要pyperclip
原文地址:https://www.cnblogs.com/pu369/p/12654835.html
时间: 2024-11-02 09:13:50