简体   繁体   English

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

[英]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.

相关问题 ImportError:在Anaconda中安装astropy后,没有名为astropy的模块 - ImportError: No module named astropy, after installing astropy in Anaconda 使用pip安装后,“ImportError:没有名为&#39;requests&#39;的模块” - “ImportError: no module named 'requests'” after installing with pip “ImportError: No module named serial” - 安装 pyserial 后 - “ImportError: No module named serial” - after installing pyserial ImportError:没有名为Analonda的SQLAlchemy模块 - ImportError: No module named SQLAlchemy with Anaconda ImportError:未命名模块-python anaconda - ImportError: No module named - python anaconda Anaconda安装后运行pyinstaller导致ImportError:没有名为&#39;pefile&#39;的模块 - running pyinstaller after Anaconda install results in ImportError: no Module named 'pefile' 安装anaconda之后,python给出错误“没有名为numpy的模块” - After installing anaconda, python gives error “no module named numpy” ImportError:没有名为pyplot的模块(即使在安装matplotlib之后) - ImportError: No module named pyplot (even after installing matplotlib) 导入错误:安装 python-opencv 后没有名为 opencv 的模块 - ImportError: No module named opencv after installing python-opencv `ImportError:安装AppKit和PyObjC后没有名为AppKit的模块 - `ImportError: No module named AppKit` after installing AppKit and PyObjC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM