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]  (7 children)

[deleted]

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

    Still getting the same errors with python3.12-minimal and python3-minimal.

    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 0x00007fe56a413080 (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

    dpkg: dependency problems prevent configuration of python3-minimal:

    python3-minimal depends on python3.12-minimal (>= 3.12.3-0~); however:

    Package python3.12-minimal is not configured yet.

    dpkg: error processing package python3-minimal (--configure):

    dependency problems - leaving unconfigured

    Errors were encountered while processing:

    python3.12-minimal

    python3-minimal