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
Error:"exec: \"python\": executable file not found in $PATH"
Solved by:sudo apt install python-is-python3
-
No module named ‘serial’
Error:"esptool.py\", line 38, in <module>\n import serial\nModuleNotFoundError: No module named 'serial'\n"
Solved by:pip3 install pyserial
After that everything worked fine.
Hope this helps others running into the same problem.
Regards, Krischi