matplotlib can't affect the desktop. Something else has gone wrong.
Maybe restore the boot to desktop option from sudo raspi-config
Code: Select all
sudo apt installpython3-matplotlib
How about cbmbasic? It is C64 BASIC and runs in a terminal. It's supplied as source, but it's a fairly easy build.