Use sys.version_info, not sys.version.
sys.version[0] gives a string, which fails > comparison with 2. Reported by Arne Maximilian Richter on docs@
Showing
Please register or sign in to comment
sys.version[0] gives a string, which fails > comparison with 2. Reported by Arne Maximilian Richter on docs@