美文网首页
ubuntu安装python3.6

ubuntu安装python3.6

作者: iamsea | 来源:发表于2018-01-09 10:21 被阅读0次

    1.添加python3.6安装包,并且安装

    $ sudo add-apt-repository ppa:jonathonf/python-3.6
    $ sudo apt-get update
    $ sudo apt-get install python3.6
    

    2.修改系统默认python版本为3.6

    $ cd /usr/bin
    $ rm python
    $ ln -s python3.6m python
    

    3.升级pip版本

    $ python pip install --upgrade pip
    

    相关文章

      网友评论

          本文标题:ubuntu安装python3.6

          本文链接:https://www.haomeiwen.com/subject/wfrwnxtx.html