--- linkcheck/__init__.py 2014-07-16 01:34:58.000000000 -0400 +++ linkcheck/__init__.py 2016-08-19 22:24:48.000000000 -0400 @@ -24,10 +24,11 @@ # Needs Python >= 2.7.2 which fixed http://bugs.python.org/issue11467 if not (hasattr(sys, 'version_info') or sys.version_info < (2, 7, 2, 'final', 0)): - raise SystemExit("This program requires Python 2.7.2 or later.") + import platform + version = platform.python_version() + raise SystemExit("This program requires Python 2.7.2 or later instead of %s." % version) + import requests -if requests.__version__ <= '2.2.0': - raise SystemExit("This program requires Python requests 2.2.0 or later.") import os # add the custom linkcheck_dns directory to sys.path