Not a python mis-match, Ubuntu 22.04 (and spin off's such as Mint 21) and Gimp 2.10.30 does not have a gimp-python package = no python Have a look in Filters menu, no Python-fu entry only script fu.
One solution is install the flatpak version.
A better solution is use Tasmanias excellent appimage to launch Gimp and add python 2.7 support.
Gimp-python appimage:
https://www.gimp-forum.net/Thread-Pytho ... 3#pid29963#
https://github.com/TasMania17/Gimp-Appi ... -for-Linuxand a quick before / after example
https://i.imgur.com/fWY3ezt.mp4