python - 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
并确保它已安装。
推荐阅读
- python - 如何摆脱非类型数组
- python - 带有 webdriver.Firefox() 的 Selenium 在 GitHub Actions 中崩溃
- java - 将包装类和原语与 == 运算符进行比较时,类型转换背后的逻辑是什么?
- ios - ARKit/SceneKit 阴影问题
- swift - 出现未知错误。无法从(-1)找到存储库
- fpga - 立体视觉管道中的噪声视差图
- oracle - 如何连接 DBMS_CRYPTO?
- javascript - 为特定插槽提供插槽值作为响应并恢复对话
- python - 如何正确从 Python 调用 Laravel API
- xcode - 从 pod 安装库时出错