最佳答案
为了让 VSCode 使用 Python 扩展,必须将其安装在代码所在的计算机上。根据您的情况,您必须在 WSL 内安装扩展,只需单击在 WSL 上安装
按钮,它就应该可以工作。
关于python - 无法在 WSL vscode 中使用 python 扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59312435/
最佳答案
为了让 VSCode 使用 Python 扩展,必须将其安装在代码所在的计算机上。根据您的情况,您必须在 WSL 内安装扩展,只需单击在 WSL 上安装
按钮,它就应该可以工作。
关于python - 无法在 WSL vscode 中使用 python 扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59312435/
相关文章:
windows - 如何在VS Code中为其他发行版打开wsl工作区?
docker - 如何修复 "malformed entry 50 in list file/etc/apt/sources.list (Component)"?
python - 为什么父类(super class)属性在当前类的命名空间中不可用?
visual-studio-code - VS 代码 : Is it possible to have an extension with user interface (Html/css/JS)?
python - 当嵌套在相同的 `with` 中时,避免执行 `with` 语句
linux - ubuntu14.04安装vscode 1.32依赖什么