如何在VS Code中将路径更改为扩展名,并且如果我已经安装了python扩展名,则是autopep8的正确路径是什么?

问题描述

尝试为VS Code安装模块“ RecyclerView”时收到此错误

autopep8

解决方法

Python extension支持我们在VSCode中使用Python,但我们并未将模块安装在python扩展的路径中。

我们在当前VSCode environment中使用模块“ autopep8”。 使用pip将其安装在VSCode终端中:

enter image description here

检查:

enter image description here

,

在命令行中输入 where.exe autopep8 并将该路径复制到 Autopep8 路径