Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 VS Code 用于多种语言,并不总是需要解释器。我还使用多个 Python 版本,通常通过 Pipenv 进行管理。我发现不断唠叨选择口译员真的很烦人。我可以禁用它吗?毕竟,当我尝试运行代码时,我很快就会发现我没有选择一个。
是的。您可以进入设置、扩展、Python(正在生成弹出窗口),您可以在此处选中“Python:禁用安装检查”旁边的框
您是否打开了 settings.json 文件,您将添加/检查设置。
"python.disableInstallationCheck": true
作为参考,我在 VS Code for Mac v1.6,Python 扩展是 v2021.12.1559732655。