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'