From c1f84a75ebdabd6b563bf0b2074e7f43f33d5ecb Mon Sep 17 00:00:00 2001 From: Han Xiao Date: Fri, 1 May 2020 18:09:01 +0200 Subject: [PATCH] fix: setup version warning --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f0e642efc33e7..132a46db4e723 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ elif sys.version_info >= (3, 7, 0): py_tag = PY37 else: - raise OSError('Jina requires Python 3.7 and above, but yours is %s' % sys.version_info) + raise OSError('Jina requires Python 3.7 and above, but yours is %s' % sys.version) try: pkg_name = 'jina'