编辑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 安装过程中没有错误。