解决[VS Code] Selected interpreter is macOS system Python which is not recommended. Please select different interpreter

最近每次開 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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容