![](/img/trans.png)
[英]pylint import error in vscode even though python executer successfully imports it
[英]How to change the executer of python in vscode?
这是Code Runner为 Python 语言提供的默认命令。
只要你运行python文件而不是运行代码时终端中的执行脚本是python3.8,运行代码也应该使用python3.8。
或者您可以直接更改命令:
"code-runner.executorMap": {
"python": "path/to/python3.8/python.exe -u",
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.