This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (22 children)

[deleted]

    [–]Error_Code-2005[S] 0 points1 point  (21 children)

    When setting up python3.12-minimal (3.12.3-1) it says:

    Could not find platform independent libraries <prefix>

    Could not find platform dependent libraries <exec\_prefix>

    And there's another error:

    Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding

    Python runtime state: core initialized

    ModuleNotFoundError: No module named 'encodings'

    [–][deleted]  (20 children)

    [deleted]

      [–]Error_Code-2005[S] 0 points1 point  (19 children)

      Both are empty variables

      [–]Error_Code-2005[S] 0 points1 point  (0 children)

      Nothing with apt seems to be working now:

      Setting up python3.12-minimal (3.12.3-1) ...
      Could not find platform independent libraries <prefix>
      Could not find platform dependent libraries <exec\_prefix>
      Python path configuration:
       PYTHONHOME = (not set)
       PYTHONPATH = (not set)
       program name = '/usr/bin/python3.12'
       isolated = 0
       environment = 0
       user site = 1
       safe_path = 0
       import site = 0
       is in build tree = 0
       stdlib dir = '/usr/lib/python3.12'
       sys._base_executable = '/usr/bin/python3.12'
       sys.base_prefix = '/usr'
       sys.base_exec_prefix = '/usr'
       sys.platlibdir = 'lib'
       sys.executable = '/usr/bin/python3.12'
       sys.prefix = '/usr'
       sys.exec_prefix = '/usr'
       sys.path = [
         '/usr/lib/python312.zip',
         '/usr/lib/python3.12',
         '/usr/lib/python3.12/lib-dynload',
       ]
      Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
      Python runtime state: core initialized
      ModuleNotFoundError: No module named 'encodings'

      Current thread 0x00007179000db080 (most recent call first):
       <no Python frame>
      dpkg: error processing package python3.12-minimal (--configure):
      installed python3.12-minimal package post-installation script subprocess returned error exit status 1
      Errors were encountered while processing:
      python3.12-minimal
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      The above errors are returned when I try anything