如何修复 PlatformIO 最近更新包的 "UnknownPackageError: Could not find the package ...."

问题:

当你想安装最近更新的 PlatformIO 库时,你会看到类似这样的错误消息

platformio_error.txt
UnknownPackageError: Could not find the package with 'ulikoehler/QuickSPI @ ^1.1.1' requirements for your system 'linux_x86_64

解决方案

删除 ~/.platformio/.cache,然后重试。

在 Windows 上,此目录位于:C:\Users\<user>\.platformio\.cache


Check out similar posts by category: PlatformIO