Could not find the package with 'espressif/framework-arduinoespressif32' requirements for your system 'darwin_arm64'

Hello.
I’ve used PIO about one year in a MacStudio m2, now I had changed to a new MacBook M2, and I can’t initialize even a new project as in the image.

I tried to reinstall whole VScode and PIO, also tried to copy epressif32 folder from my older computer to the new one. And nothing appears to solve.

I opened an existent and valid project that compiles in my old computer and I got this

Only to register here the solution…
After MacOS update to Soquoia the register of platform was lost, then the commands became invalid for the terminal.

Solution:
Delete the folder containing ‘espressif/framework-arduinoespressif32’ in “…macusername/.platformio/packages” and reinstall from the scratch by creating a simple new project.

1 Like