Error creating projects: pkg_resources issue?

A simple way is to make this bleeding edge version the default while a new version is not yet released.

  1. Remove C:\Users\<user>\.platformio\platforms\espressif32*
  2. Open a PIO Core CLI
  3. Execute pio pkg install -g -p "https://github.com/platformio/platform-espressif32.git"

Any new project should automatically use the corrected version.

2 Likes