1 不能输入
解决办法
设置,搜索,runInTerminal打勾

2.python 运行的是python2 不是python3
设置,搜索 code-runner.executorMap
![]()

来源:
https://github.com/formulahendry/vscode-code-runner/issues/72
在Visual Studio Code中遇到Python运行问题,如无法输入或默认使用Python2而非Python3。解决方案包括检查设置,确保'runInTerminal'选项已启用,并修改'code-runner.executorMap'以指定使用Python3解释器。参照GitHub与StackOverflow上的相关讨论,可以找到针对性的配置步骤。
1 不能输入
解决办法
设置,搜索,runInTerminal打勾

2.python 运行的是python2 不是python3
设置,搜索 code-runner.executorMap
![]()

来源:
https://github.com/formulahendry/vscode-code-runner/issues/72