|
dpkg: error processing archive /var/cache/apt/archives/python3-pyqt5_5
.15.9+dfsg-2_amd64.deb (--unpack):
new python3-pyqt5 package pre-removal script subprocess returned erro
r exit status 1
Could not find platform independent libraries <prefix>
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = '/usr/lib/python3.11'
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python311.zip',
'/usr/lib/python3.11',
'/usr/lib/python3.11/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec o
f the filesystem encoding
Python runtime state: core initialized
LookupError: no codec search functions registered: can't find encoding
Current thread 0x00007f527736e040 (most recent call first):
<no Python frame>
dpkg: error while cleaning up:
installed python3-pyqt5 package post-installation script subprocess r
eturned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python3-pyqt5_5.15.9+dfsg-2_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1) |