Hello, I accidentally deleted the arduino wire library

Hello,
I accidentally deleted the arduino wire library and now I don’t know how to install it can someone help me? I use osx catalina, I tried to uninstall platformio and redo everything but nothing to do.

You deleted it by removing the Wire folder in the Arduino core? Just remove the whole framework-arduino-xy folder of whatever Arduino framework you’ve been using and PIO will re-download it on the next compilation.

1 Like

If you’re not sure where the framework folder is (think it should be in ~/.platformio/packages since you’re on Mac)… you should be able to uninstall the platform via PIO Home, and as Max said, PIO will re-download/install it on the next compile.