Changing default python to another version

后端 未结 7 664
死守一世寂寞
死守一世寂寞 2021-01-01 05:35

Currently when I use \"python\" command, it points to python2.6. I have installed python3.1 and I want the \"python\" command point to python3.1. How it is possible?

相关标签:
7条回答
  • 2021-01-01 06:27

    Try update-alternatives for Linux.

    0 讨论(0)
提交回复
热议问题