简体   繁体   English

为什么在vscode中点击select Python解释器没有反应?

[英]Why clicking select Python interpreter in vscode with no response?

  1. I have already installed python and python extension我已经安装了 python 和 python 扩展

  2. first I click select python interpreter at the left bottom of the first picture首先我点击第一张图片左下角的 select python 解释器

  3. then I choose python.exe in virtual environment of anaconda, but nothing happens.然后我在anaconda的虚拟环境中选择python.exe,但没有任何反应。

    first picture after I click the select python interpreter choose python.exe我单击 select python 解释器后的第一张图片选择 python.exe

selecting interpreter doesn't run it. selecting interpreter器不会运行它。 It only assigns interpreter to current code.它只将解释器分配给当前代码。

You have to run it using Ctrl+F5 (to run in normal mode) or F5 (to run in debug mode).您必须使用Ctrl+F5 (以正常模式运行)或F5 (以调试模式运行)来运行它。

See it in menu Run .在菜单Run中查看它。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM