Package: python3.5-minimal
Version: 3.5.3-3
Severity: important

Dear Maintainer,
When I upgraded my sid machine last week I faced this error:

Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding

It seems that something broke python3.5-minimal; in fact when I run
/usr/bin/python3.5 I get this:

Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: no codec search functions registered: can't find encoding

Current thread 0x00007fb8aeb88700 (most recent call first):
Aborted

In order to configure the other packages I installed python3.6 and
symlinked /usr/bin/python3.6 to /usr/bin/python3. That did the trick;
almost: there are a number of packages that depend on python3.5 and don't
configure:

Errors were encountered while processing:
 python3-dbus
 python3-olefile
 hplip-data
 python3-gi
 python3-asn1crypto
 pgcli
 apt-listchanges
 python3-sip
 python3-cairo
 python3-ptyprocess
 python3-dbus.mainloop.pyqt5
 hplip-gui
 python3-cryptography
 hplip
 python3-pil:amd64
 printer-driver-postscript-hp
 python3-pyqt5
 python3-gi-cairo

This is a bit of a nuisance because it involves hplip, so now I can't print
from this computer.
Apparently even the reportbug program runs python, so it wouldn't work
either.

-- 
Fernando Santagata

Reply via email to