无法在 vscode 中安装 Platformio IDE

Failed to install Platformio IDE in vscode

问题

Installing PlatformIO Core...
Please do not close this window and do not open other folders until this process is completed.
Failed to install PlatformIO IDE.

我试过的

我发现了什么

我在我的电脑上安装了什么

下午好。

我遇到了完全相同的问题。 做了与您描述的几乎相同的主题。 对我来说,它与 anaconda 软件有关。

我在 visual studio 环境中卸载了 anaconda,uninstall/reinstall platformio,它工作正常。

我收到消息说 platformio 服务已经启动,这让我开始思考。

问候

没什么大不了的,我遇到了同样的问题....只需转至 help > Toggle developers 并在该按钮中按 console 并搜索最有可能显示错误的 platformIo使用 python 安装...您可能想手动安装一些软件包.... 我正在使用 ubuntu...所以 python 包冲突...

今天我尝试在 Linux Mint 20.2 Cinnamon 机器上安装 PlatformIO 但(最初)失败了。 VSCode V1.61.2 全新安装,Python3 已安装。

尝试安装 PlatformIO 时告诉我机器上的 Python 不合适,安装失败。

在 VSCode(帮助 | 切换开发者工具)中启用开发者模式并再次尝试安装后,我发现一条错误消息告诉我 Python 的 distutils 包丢失。

那是因为我没有安装pip3

在终端中,运行 sudo apt install python3-pip

这将为您提供合适的软件包,然后 PlatformIO 将正确安装。