Skip to content

A feature-rich command-line audio/video downloader

Show a more useful error in older python versions

pukkandan347182a0cdc1
diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py
index 91b2bcb852..ad2d5e035a 100644
--- a/yt_dlp/__init__.py
+++ b/yt_dlp/__init__.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# coding: utf-8
-from __future__ import unicode_literals
+f'You are using an unsupported version of Python. Only Python versions 3.6 and above are supported by yt-dlp' # noqa: F541
__license__ = 'Public Domain'