high_java 发表于 2013-1-15 13:38:02

How to setup the default version on Ubuntu


[*]Check your python version
~$ pythonPython 3.2 (r32:88445, Mar 25 2011, 19:28:28) on linux2Type "help", "copyright", "credits" or "license" for more information.
[*]Mine is 3.2, what if I want to switch to default version 2.7
which python/usr/bin/python
[*] Here is the command
sudo mv /usr/bin/python /usr/bin/python32sudo ln -s /usr/bin/python2.7 /usr/bin/python 
页: [1]
查看完整版本: How to setup the default version on Ubuntu