[英]ImportError: No module named pyautogui after installing with anaconda
Edit 2: Does it require admin permissions?编辑2:它需要管理员权限吗? After installing anaconda on Windows and trying these commands to install:
在 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
I recieve an ImportError我收到一个 ImportError
>>> import pyautogui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyautogui'
The pyautogui commands also do not work. pyautogui 命令也不起作用。 There were no errors during thale Anaconda installation for Windows 10 installed on Windows 10.
Windows 10 安装在 Windows 10 上的 thale Anaconda 安装过程中没有错误。
Try this on the anaconda console:在 anaconda 控制台上试试这个:
pip install -U pyautogui
And make sure It has been installed.并确保它已安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.