简体   繁体   English

ModuleNotFoundError:尽管已安装,但没有名为“pyperclip”的模块

[英]ModuleNotFoundError: No module named 'pyperclip' in spite of an installation

Windows 10, python 3.6.4 I get ModuleNotFoundError: No module named 'pyperclip' when i run a program. Windows 10, python 3.6.4 我在运行程序时收到ModuleNotFoundError: No module named 'pyperclip'

When I type pip list and pip freeze in command prompt pyperclip (1.6.0) is shown as installed.当我在命令提示符pyperclip (1.6.0)中键入pip listpip freeze显示为已安装。

When I type pip install pyperclip in command prompt I get Requirement already satisfied: pyperclip in c:\python\lib\site-packages .当我在命令提示符下键入pip install pyperclip时,我得到Requirement already satisfied: pyperclip in c:\python\lib\site-packages

Do you know how to fix this?你知道如何解决这个问题吗?

i had this problem too: and i solved running: python -m pip install pyperclip我也有这个问题:我解决了运行: python -m pip install pyperclip

note: replace for python that is being used, for example, if you are trying running in python 3.10: python3.10 -m pip install pyperclip注意:替换正在使用的 python,例如,如果您尝试在 python 3.10 中运行: python3.10 -m pip install pyperclip

this problem may is because you may more than one python environment which one of then have no pyperclip installed这个问题可能是因为您可能有多个 python 环境,其中一个没有安装 pyperclip

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ModuleNotFoundError:没有名为“pyperclip”的模块 - ModuleNotFoundError: No module named 'pyperclip' ModuleNotFoundError:Visual Studio Code 中没有名为“pyperclip”的模块 - ModuleNotFoundError: No module named 'pyperclip' in Visual Studio Code 为什么我收到 ModuleNotFoundError: No module named 'pyperclip'? - Why am i getting a ModuleNotFoundError: No module named 'pyperclip'? 基准安装错误,ModuleNotFoundError:没有名为“main”的模块 - benchmark installation error, ModuleNotFoundError: No module named 'main' ModuleNotFoundError:尽管安装了但没有名为“cv2”的模块 - ModuleNotFoundError: No module named 'cv2' despite installation 尽管使用 pip 安装它,为什么我会收到“ModuleNotFoundError:没有名为‘pyperclip’的模块”? - Why do I get "ModuleNotFoundError: No module named 'pyperclip'" despite installing it with pip? ModuleNotFoundError: 在安装 cython 后安装 pycocotools 期间没有名为“Cython”的模块 - ModuleNotFoundError: No module named 'Cython' during pycocotools install after cython installation 使用 conda 安装 redis 不起作用 ModuleNotFoundError 没有名为“redis”的模块 - redis installation using conda not working ModuleNotFoundError No module named 'redis' Deeplab V3 安装:ModuleNotFoundError: No module named 'deeplab' - Deeplab V3 installation : ModuleNotFoundError: No module named 'deeplab' ModuleNotFoundError:在 Jupyter Notebook 中安装后没有名为“sqlalchemy”的模块 - ModuleNotFoundError: No module named 'sqlalchemy' after installation in Jupyter Notebook
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM