无法在ubuntu20.04上导入pyautogui

问题描述

我正在使用ubuntu20.04

我在python3.6的virtualenv中工作

我已经安装了依赖项:

sudo apt-get install scrot
sudo apt-get install python3-tk
sudo apt-get install python3-dev

我像这样安装pyautogui

pip install pyautogui

在Python shell中,我得到了:

Python 3.6.12 (default,Aug 17 2020,23:45:20) 
[GCC 9.3.0] on linux
Type "help","copyright","credits" or "license" for more information.
>>> import pyautogui
NOTE: You must install tkinter on Linux to use MouseInfo. Run the following: sudo apt-get install python3-tk python3-dev

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)