[ci skip]automatically select python if user has installed other versions of pyth...

automatically select python if user has installed other versions of python
more flexible and portable