Python-wxgtk2.8 on RPi running Buster

Enabling a Raspberry Pi per Youtube (2017) instructions by @tiffo, https://www.youtube.com/watch?v=cZVNndOaYCE&list=PLuteWQUGtU9BcXXr3jCG00uVXFwQJkLRa&index=3&ab_channel=TizianoFiorenzani

I’m now having trouble installing '‘sudo apt-get install python-wxgtk2.8’. It failed with:

''Reading package lists… Done Building dependency tree
Reading state information… Done Package python-wxgtk2.8 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package libwxgtk2.8-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

What is the fix/workaround?

cheers, Jack

python-wxgtk2.8 is quite an old package and has been removed in recent versions of Raspian/RasPiOS. The current wxgtk package is python-wxgtk4.0, so try sudo apt install python-wxgtk4.0