Ubuntu 下面的切换 python 版本操作
程序员文章站
2022-03-04 08:48:44
...
[email protected]:~$ sudo update-alternatives --config python
[sudo] password for archermind:
There are 2 choices for the alternative python (providing /usr/bin/python).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/python3.5 2 auto mode
1 /usr/bin/python2.7 1 manual mode
* 2 /usr/bin/python3.5 2 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/python2.7 to provide /usr/bin/python (python) in manual mode
上一篇: Linux/ubuntu 环境下面的xdebug配置
下一篇: TCP通信客户端
推荐阅读