so when removing one of the packages directly from usr/lib/, I entered python* instead of what I wanted. Now the system and the terminal are completely broken. I get an error when I try to use apt/apt-get/dpkg. below is the error itself:
sys.exec_prefix = '/usr' sys.path = [ '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encoding'
Current thread 0x00007f3a8809a000 (most recent call first):