Skip to content

Python version in container is not supported by yt-dlp #65

@Shioku1337

Description

@Shioku1337

The python version in the container seems to not be supported by yt-dlp.

Error:

sinusbot-1   | Updating to stable@2026.03.17 ...
sinusbot-1   | Updated yt-dlp to stable@2026.03.17
sinusbot-1   | Traceback (most recent call last):
sinusbot-1   |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
sinusbot-1   |     "__main__", mod_spec)
sinusbot-1   |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
sinusbot-1   |     exec(code, run_globals)
sinusbot-1   |   File "/usr/local/bin/yt-dlp/__main__.py", line 14, in <module>
sinusbot-1   |   File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 5, in <module>
sinusbot-1   | ImportError: You are using an unsupported version of Python. Only Python versions 3.10 and above are supported by yt-dlp

Environment: Docker on an LXC on Proxmox VE

compose.yml:

services:
  teamspeak:
    image: teamspeak
    restart: always
    ports:
      - 9987:9987/udp
      - 10022:10022
      - 30033:30033
      - 41144:41144
    environment:
      TS3SERVER_DB_PLUGIN: ts3db_mariadb
      TS3SERVER_DB_SQLCREATEPATH: create_mariadb
      TS3SERVER_DB_HOST: db
      TS3SERVER_DB_USER: root
      TS3SERVER_DB_PASSWORD: <pasword>
      TS3SERVER_DB_NAME: teamspeak
      TS3SERVER_DB_WAITUNTILREADY: 30
      TS3SERVER_LICENSE: accept
  db:
    image: mariadb
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: <password>
      MYSQL_DATABASE: teamspeak

  sinusbot:
    image: sinusbot/docker:latest
    restart: always
    ports:
      - 8087:8087
    volumes:
      - scripts:/opt/sinusbot/scripts
      - data:/opt/sinusbot/data
    environment:
      UID: 1000 
      GID: 1000

volumes:
  scripts:
  data:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions