added logging for pip and python version