check python version and cogent installation