Change default Python version from 2.4 to 2.6

前端 未结 6 2011
春和景丽
春和景丽 2020-11-29 23:45

I\'m wanting to use some newer software that requires Python 2.6, and we currently have both 2.4 and 2.6 installed on our dedicated Ce

6条回答
  •  情书的邮戳
    2020-11-30 00:31

    As root:

    ln -sf /usr/bin/python2.6 /usr/local/bin/python
    

    This will make a symbolic link from /usr/local/bin/python --> /usr/bin/python2.6 (replacing the old hardlink).

提交回复
热议问题