"gcc: fatal error: cannot execute 'cc1':; execvp: no such file or directory" when trying to flash

I'm using a fresh flash of RatOS 2.0.2 on a rpi4 and the configurator says that octopus 1.1 is detected but klipper not detected. When I try to flash it, it just gets back to it. I opened the devtools and found the error in the terminal:

TRPCClientError: Command failed: /home/pi/klippy-env/bin/python /home/pi/ratos-configurator/scripts/check-version.py /dev/btt-octopus-11
gcc: fatal error: cannot execute ‘cc1’: execvp: No such file or directory
compilation terminated.
    NextJS 56
Caused by: undefined


The board should have klipper all ready to go, since this is simply a reinstall of RatOS on top of an old install and old hardware.
image.png
Solution
ok, the issue seemed to be that going to the link http://ratos.local/configure?step=1 skipped the wifi configuration completely, and was trying to operate without a proper wifi connection
Was this page helpful?