fix python version judge method is incorrect.