Pyautogui无法导入

问题描述 投票:0回答:1

我一直在尝试导入 Pyautogui,这就是我得到的: enter image description here

我尝试了以下方法: - 重新安装模块 -卸载一个版本的Python,因为我有两个版本 - 在安装模块的 VSCode 中手动选择 python 调试器 -检查其他模块的循环导入问题

python module importerror pyautogui
1个回答
0
投票

你的问题很简单。我认为你可以卸载 pyautogui 并重新安装它。 以管理员身份进入 Cmd,然后输入

pip uninstall pyautogui
,然后输入
pip install pyautogui
你还说安装了2个Python版本,从控制面板删除一个,就这么简单。这样做应该能让整个事情顺利进行

© www.soinside.com 2019 - 2024. All rights reserved.