Am So., 16. Apr. 2023 um 14:56 Uhr schrieb lux <l...@shellcodes.org>: > > On Sun, 2023-04-16 at 14:41 +0200, Martin Schröder wrote: > > > > 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' > > > > Is speedtest-cli installed via pkg_add?
pkg_add > It looks like it was installed via pip or source package before the > upgrade. > > I think you should reinstall speedtest-cli or re-build. > sudo pkg_delete speedtest-cli speedtest-cli-2.1.4beta1: ok Read shared items: ok [20230416T15:04:12+0200(106/15)] ms@wyvern 1032:~ > speedtest-cli --secure -bash: /usr/local/bin/speedtest-cli: No such file or directory [20230416T15:04:25+0200(106/15)] ms@wyvern 1033:~ > sudo pkg_add speedtest-cli quirks-6.121 signed on 2023-04-15T20:15:19Z speedtest-cli-2.1.4beta1: ok [20230416T15:04:36+0200(106/15)] ms@wyvern 1034:~ > speedtest-cli --secure Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/usr/local/bin/python3.10' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/usr/local/bin/python3.10' sys.base_prefix = '/usr/local' sys.base_exec_prefix = '/usr/local' sys.platlibdir = 'lib' sys.executable = '/usr/local/bin/python3.10' sys.prefix = '/usr/local' sys.exec_prefix = '/usr/local' sys.path = [ '/usr/local/lib/python310.zip', '/usr/local/lib/python3.10', '/usr/local/lib/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 0x00000194a7b6c660 (most recent call first): <no Python frame>