When I tried my first exercise with Spencer programming using CircuitBlocks I got the error
Compile error. Check your code then try again.
Thanks to Filip’s post on how to get the CircuitBlocks error log, I found these problems:
Python not on $PATH
"exec: \"python\": executable file not found in $PATH"
sudo apt install python-is-python3
No module named ‘serial’
"esptool.py\", line 38, in <module>\n import serial\nModuleNotFoundError: No module named 'serial'\n"
pip3 install pyserial
After that everything worked fine.
Hope this helps others running into the same problem.