Errors with CircuitBlocks-1.3.1-Linux.AppImage on Ubuntu 20.04

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:

  1. Python not on $PATH
    Error: "exec: \"python\": executable file not found in $PATH"
    Solved by: sudo apt install python-is-python3

  2. No module named ‘serial’
    Error: "\", 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