I don’t or maybe can’t recall how many times I have had issues installing wxPython on Linux. But my recent upgrade of ubuntu to 21.10 went very smoothly.
I used the following web instructions:
It took a while but so far runs without issue. I hope this helps someone.