ImportError:使用anaconda安装后,没有名为pyautogui的模块



编辑2:它需要管理员权限吗?在Windows上安装anaconda并尝试以下命令安装后:

>>pip install pyautogui
>>conda install -c conda-forge pyautogui
>>conda install -c conda-forge/label/cf201901 pyautogui
>>conda install -c conda-forge/label/cf202003 pyautogui

我收到一个ImportError

>>> import pyautogui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyautogui'

pyautogui命令也不起作用。在Windows 10上安装的用于Windows 10的thale Anaconda安装过程中没有出现错误。

在anaconda控制台上试试这个:

pip install -U pyautogui

并确保它已安装。

最新更新