为什么我在 运行 python 文件的 VS Code 中出现 conda 错误?
Why do I have conda error in VS Code for running a python file?
我一直在努力适应 VS Code,并关注他们的视频教程。
我按照他们的调试 video and applied similar thing myself, however I get the following error 关于 conda。
我在屏幕上没有看到任何打印输出,也无法使用代码中的输入功能。
我是否遗漏或做错了什么?
谢谢。
我找不到原因,但找到了解决方案:将解释器从 Anaconda 更改为另一个解释器为我解决了问题。为了改变它:
- 命令面板的 Ctrl+Shift+P
- 搜索“Select 口译员”
- Select 工作 interpreter
我一直在努力适应 VS Code,并关注他们的视频教程。
我按照他们的调试 video and applied similar thing myself, however I get the following error 关于 conda。
我在屏幕上没有看到任何打印输出,也无法使用代码中的输入功能。
我是否遗漏或做错了什么?
谢谢。
我找不到原因,但找到了解决方案:将解释器从 Anaconda 更改为另一个解释器为我解决了问题。为了改变它:
- 命令面板的 Ctrl+Shift+P
- 搜索“Select 口译员”
- Select 工作 interpreter