Terminal not launching in Ubuntu 22.04

Hi, today’s post will be very short. Recently I found out that there is a strange bug related to Python version upgrade. My terminal stopped working after I upgraded Python version from 3.10 to 3.11 on Ubuntu 22.04. Not only terminal, but also other preinstalled applications like „Software Updater”. I decided to write a short article about this, first to warn you and second to give you a quick fix.