linuxserver / docker-homeassistant

GNU General Public License v3.0
209 stars 33 forks source link

[BUG] Homeassisnat won't start, ModuleNotFoundError: No module named 'encodings' #115

Open vlastikcz opened 1 day ago

vlastikcz commented 1 day ago

Is there an existing issue for this?

Current Behavior

Container does not start because of an python error:

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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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'

Expected Behavior

Container can be started (as it did with previous versions)

Steps To Reproduce

  1. create docker compose file
  2. run docker compose up

Environment

- OS: Ubuntu 24.04
- How docker service was installed: default apt repository

CPU architecture

x86-64

Docker creation

homeassistant:
    image: lscr.io/linuxserver/homeassistant:latest
    container_name: homeassistant
    privileged: true
    environment:
      - PUID=${UID}
      - PGID=${GID}
    volumes:
      - '/home/services-web/data/.config/homeassistant:/config'
      - /run/dbus:/run/dbus:ro
    ports:
      - 8123:8123
    devices:
      - /dev/ttyUSB0:/dev/ttyUSB0
      - /dev/ttyACM0:/dev/ttyACM0
      - /dev/ttyAMA0:/dev/ttyAMA0
    restart: unless-stopped

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1002
User GID:    1005
───────────────────────────────────────
Linuxserver.io version: 2024.11.2-ls47
Build-date: 2024-11-20T02:01:15+00:00
───────────────────────────────────────

**** New container detected, fixing python package permissions. This may take a while. ****
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1002
User GID:    1005
───────────────────────────────────────
Linuxserver.io version: 2024.11.2-ls47
Build-date: 2024-11-20T02:01:15+00:00
───────────────────────────────────────

Setting permissions
[custom-init] No custom files found, skipping...
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffa8503d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff96f56d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff9a817d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff8be59d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb74e1d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff87365d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffa357ed20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff8dd63d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffa6c89d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffa878cd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb586dd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff81b9fd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffa598fd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffabf42d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff82c79d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffbd759d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff9dedbd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff84020d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb4d23d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffbb1bcd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff925f3d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff9b2f6d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff870b6d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff83117d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffbb6aed20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffa4ad2d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff91bddd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff90c88d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff7ffbad20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb7951d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff83e2ed20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb6d0ad20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff7ff80d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb8ebfd20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff868a2d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffa9ad0d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffff89de4d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb0bf6d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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 0x0000ffffb9a99d20 (most recent call first):
  <no Python frame>
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 = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/pythoncompiled/lib/python3.12'
  sys._base_executable = '/usr/local/bin/python3'
  sys.base_prefix = '/pythoncompiled'
  sys.base_exec_prefix = '/pythoncompiled'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/local/bin/python3'
  sys.prefix = '/pythoncompiled'
  sys.exec_prefix = '/pythoncompiled'
  sys.path = [
    '/pythoncompiled/lib/python312.zip',
    '/pythoncompiled/lib/python3.12',
    '/pythoncompiled/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'
github-actions[bot] commented 1 day ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

j0nnymoe commented 1 day ago

Are you by some chance using portainer to deploy the compose file?

vlastikcz commented 1 day ago

Hello, no, pure docker compose -f docker-compose.yaml up -d. It's an older (months old) instance which worked fine before. The failure started after docker compose pull yesterday.

I run docker compose pull manually on approx. weekly basis. I have not changed anything else.

services-web@rpi4:~/rpi-home/docker/web$ docker compose version
Docker Compose version v2.29.7
services-web@rpi4:~/rpi-home/docker/web$ docker version
Client: Docker Engine - Community
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:41:08 2024
 OS/Arch:           linux/arm64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.3.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.7
  Git commit:       41ca978
  Built:            Fri Sep 20 11:41:08 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.7.22
  GitCommit:        7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
 runc:
  Version:          1.1.14
  GitCommit:        v1.1.14-0-g2c9f560
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0