From 3e7700e9ac4d15e7cd57aa2b616d27e47e9e6caf Mon Sep 17 00:00:00 2001 From: gcarq Date: Sun, 5 Nov 2017 17:44:58 +0100 Subject: [PATCH] add interpreter version check --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index eced2b5b3..edac88c8f 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,11 @@ +from sys import version_info from setuptools import setup +if version_info.major == 3 and version_info.minor < 6 or \ + version_info.major < 3: + print('Your Python interpreter must be 3.6 or greater!') + exit(1) + from freqtrade import __version__