[英]VSCode Code Runner not following settings.json
I set my settings.json to Anaconda python 3.6.10 but Code runner still runs the code in 3.7.6.我将我的 settings.json 设置为 Anaconda python 3.6.10,但代码运行器仍在 3.7.6 中运行代码。 I used OS to check and in fact, that is true.
我用操作系统来检查,事实上,这是真的。 I then used terminal to run my file and it is Python 3.6.10.
然后我使用终端运行我的文件,它是 Python 3.6.10。 How can I change my Code Runner to run at whatever version I set in the.vscode settings.json file?
如何更改我的 Code Runner 以在我在 .vscode settings.json 文件中设置的任何版本运行?
"code-runner.executorMap": {
"python": "$pythonPath -u $fullFileName",
},
With this it should follow the anaconda settings in VS Code.有了这个,它应该遵循 VS Code 中的 anaconda 设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.