Hi hydethepenguin, Check here for my solution to this problem:
https://forum.arduino.cc/t/could-not-install-arduino-avr-platform-error-2-unknown/1146532/7?u=benjamin269