VS代码中找不到的模块。我使用PIP安装了Pyautogui和其他一些模块,但我的代码不运行
我收到消息:
file“ c:\ users \ usesa \ desktop \ python_not_wroking \ nothing.py”,第1行,in 导入Pyautogui作为PE ModulenotFoundError:没有名为“ Pyautogui''
的模块
我设置了Venv,并将解释器更改为Venv中的Python.exe。问题是它在VS代码之前没有运行,即使没有VENV,我知道我正确安装了所有内容
I get the message :
File "c:\Users\oussa\Desktop\python_not_wroking\nothing.py", line 1, in
import pyautogui as pe
ModuleNotFoundError: No module named 'pyautogui'
I set up venv and changed the interpreter to the python.exe in venv. The problem is that it did not run before in VS code, even without venv and I know I installed everything correctly because everything runs fine when I run my code through IDLE in the desktop
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论