From 347182a0cdc175283185ad887fcae3075c955cdc Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 2 Sep 2021 03:52:08 +0530 Subject: [PATCH] Show a more useful error in older python versions --- yt_dlp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py index 91b2bcb85..ad2d5e035 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'