Closed knorth55 closed 1 year ago
in python3, sys.version is str, so we cannot compare str and int. this PR fix to use sys.version_info.major, which is int
sys.version
str
int
sys.version_info.major
[rosout][ERROR] 2023-03-25 23:23:33,705: '<=' not supported between instances of 'str' and 'int'
in python3,
sys.version
isstr
, so we cannot comparestr
andint
. this PR fix to usesys.version_info.major
, which isint