Skip to content

which python on which host?

we checked all 3 machines for which version of python on each

literally typing
‘which python’
gives me (at least on  all three hosts) /usr/bin/python      this is not super helpful because it doesnt say which version.

ls -als /usr/bin/python on all three hosts  is also not that helpful as it just spits back the python executable named python.

ls -als /usr/bin | grep python gives me every file in there with a name including python. Then I see that “python” and python2.6 have identical size and date on all three hosts

so the final answer is that all three are using 2.6 by default

Caution: Note that astropy is only on python 2.7 and so we should actually use 2.7  . Yuping  and/or Bruce installed 2.7 in order to “make” psrchive  .  (See Yuping’s post under “python” category.)

Published inInstalled softwarePython

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *