diff --git a/anki/__init__.py b/anki/__init__.py index d9d022c11..121b5d41d 100644 --- a/anki/__init__.py +++ b/anki/__init__.py @@ -4,10 +4,8 @@ import sys -if sys.version_info[0] < 3: - raise Exception("Anki should be run with Python 3") -elif sys.version_info[1] < 4: - raise Exception("Anki requires Python 3.4+") +if sys.version_info[0] < 3 or sys.version_info[1] < 5: + raise Exception("Anki requires Python 3.5+") version="2.1.0beta1" # build scripts grep this line, so preserve formatting from anki.storage import Collection