Version 3.1.3 of Frescobaldi just does not work; it throws lots of type errors. What you have to do is:
sudo apt purge frescobaldi
sudo apt install python3-ly python3-sip
sudo apt-mark auto python3-ly python3-sip
https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/frescobaldi_3.0.0+ds1-2_all.deb.html
cd $download_dir; sudo dpkg -i frescobaldi_3.0.0+ds1-2_all.deb
rm -rf ~/.config/frescobaldi
apt install --fix-broken
, depending on whether you see
errors on first running frescobaldi.
sudo apt install lilypond