美文网首页
解决[VS Code] Selected interpreter

解决[VS Code] Selected interpreter

作者: devzhaoyou | 来源:发表于2018-03-11 10:51 被阅读1128次

最近每次開 VS Code,Python 檔都會跳這個警告
可以用 Shift + Command + P,搜尋「Python: Select Interpreter」
我是選擇了 /usr/bin/python 後,就不會跳警告了
這會在 working directory 下開 .vscode/settings.json 存這個設定
也可以直接將內容改進 VS Code 設定
"python.pythonPath": "/usr/bin/python"

via: frank

相关文章

网友评论

      本文标题:解决[VS Code] Selected interpreter

      本文链接:https://www.haomeiwen.com/subject/kcgifftx.html