yt-dlp: I cannot install yt-dlp using any method on Linux Mint 19.3 - I am doing something wrong?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Please make sure the question is worded well enough to be understood

Hi

I am asking a question and I hope this is the best place as I don’t think it appears anywhere else after going through all the other sections. I cannot confirm I am on 2023.03.04 as I cannot get to it. I have been trying for months. I have tried every combination of binaries and allowing running as a program. I am a Linux Mint 19.3 user. I cannot use APT to add the nightly build. I am stuck. I have updated Python to 3.7 and it now says after downloading the binary again “You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp”

I am so confused and do not know what I am doing wrong. I know that dlp works fine and I cannot see any known issues or anything in the bug tracker.

Thank you in advance if anyone can help me (I did the step below as said but it doesn’t show me DEBUG?)

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 2, in <module>
ModuleNotFoundError: No module named 'contextvars'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/yt-dlp/__main__.py", line 14, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 5, in <module>
Exception: You are using an unsupported version of Python. Only Python versions 3.7 and above are supported by yt-dlp

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

Ah! So clicking gives that error but running in command line seems to work - I gave it a URL from YT and it seemed to do something. I’m not sure where it’s saved it but it looked promising!