无法在vscode

时间:2019-10-14 02:27:12

标签: visual-studio-code platformio

问题

  • 我在vscode中使用platformio IDE。

  • 在2019.10.11之前,platformio IDE扩展运行良好。

  • 但是在2019.10.11之后,每次我打开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.
  • 没有更多信息显示。

我尝试过的东西

  • 卸载vscode并重新安装

  • 卸载platformio IDE并重新安装

  • vscode从1.39降级到1.37

  • 将platfotmio IDE从1.90降级到1.83

  • pip --no-cache-dir install -U platformio

  • conda安装平台io

  • pip卸载平台,然后pip安装platformio

  • 重新启动计算机

  • 卸载platformio IDE并删除名称包含“ platformio”的所有文件夹和文件,然后重新安装platformio

  • 以管理员身份运行vscode并安装Platformio IDE

  • 我现在还没有解决问题。

我发现的东西

  • 在卸载platformio IDE并尝试重新安装它之后(当然我失败了),我发现文件夹“ C:\ Users \ Bowman.platformio”的大小仅为0KB,并且仅包含一个文件夹“ .cache” “。

我在计算机上安装的内容

  • Anaconda(Python 3.7)

  • JDK

  • node.js

  • .NET Core

  • mingw64

  • Visual Studio 2019

  • Visual Studio 2017

  • Stm32CubeIDE

2 个答案:

答案 0 :(得分:0)

下午好。

我有完全一样的问题。 做了几乎与您描述的主题相同的主题。 对我而言,它与anaconda软件有关。

我卸载了anaconda,然后在Visual Studio环境中卸载/重新安装了platformio,

我得到的消息是platformio服务已经启动,这让我开始思考。

致谢

答案 1 :(得分:0)

那没什么大不了的,我遇到了同样的问题。...只需转到 help>切换开发人员,然后在该控制台中,然后搜索platformIo,它将显示最有可能在python安装过程中出现的错误..您可能想手动安装一些软件包。 我正在使用ubuntu ...所以python包冲突...