BUG: fix path reolution in print_versions.py
BUG: print_versions uses path python rather then the invoking python
Merge pull request #5486 from y-p/PR_pr_ver_fixes

Pr pr ver fixes