![](/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.