ubuntu16.04上如何安装ipython或Jupyter

2017-06-02  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读