zoukankan      html  css  js  c++  java
  • Ubuntu16.04切换python3和python2

    切换Python3为默认版本:

    sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100

    sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 150

    切换Python2为默认版本:

    sudo update-alternatives --config python

  • 相关阅读:
    转载
    转载
    HDU
    HDU
    Hdu
    转载
    HDU
    UVa
    HDU
    POJ
  • 原文地址:https://www.cnblogs.com/dancesir/p/10938844.html
Copyright © 2011-2022 走看看