美文网首页
ubuntu16.04上如何安装ipython或Jupyter

ubuntu16.04上如何安装ipython或Jupyter

作者: 小知识传送门 | 来源:发表于2017-06-02 16:05 被阅读0次

    第一步

    #Python2.7

    $sudo python2 -m pip install ipykernel

    $sudo python2 -m ipykernel install

    #Python3

    $sudo python3 -m pip install jupyterhub notebook ipykernel

    $sudo python3 -m ipykernel install

    第二步

    $sudo apt-get install build-essential

    第三步

    #ForPython2.7

    $sudo pip install jupyter

    #ForPython3

    $sudo pip3 install jupyter

    #Python2.7

    $sudo apt-get build-dep python-matplotlib python-tk

    #Python3

    $sudo apt-get build-dep python3-matplotlib python3-tk

    测试

    $mk dir tf-notebooks

    $cd tf-notebooks

    $jupyter notebook

    相关文章

      网友评论

          本文标题:ubuntu16.04上如何安装ipython或Jupyter

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