`
high_java
  • 浏览: 12690 次
  • 性别: Icon_minigender_1
  • 来自: 成都
文章分类
社区版块
存档分类
最新评论

How to setup the default version on Ubuntu

阅读更多
  • Check your python version
    ~$ python
    Python 3.2 (r32:88445, Mar 25 2011, 19:28:28) 
    [GCC 4.5.2] on linux2
    Type "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/python32
    sudo ln -s /usr/bin/python2.7 /usr/bin/python
     
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics