-2

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):

wvwvw
  • 1
  • 1
    we only support official Ubuntu. – Rinzwind Aug 29 '23 at 19:38
  • 2
    Were your system stock Ubuntu, removing all python-related packages would destroy the system. A reinstall would be far faster and simpler than learning all the skills you need to repair. Perhaps things work differently in PopOS. – user535733 Aug 29 '23 at 20:35
  • Possible duplicate of [Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work](https://askubuntu.com/q/384033/) – karel Aug 31 '23 at 00:04

0 Answers0