ubuntu16.04上如何安装ipython或Jupyter Notebook

第一步

#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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容