## Ubuntu16.04下Jupyter演算本安装(解决notebook无法启动问题)

前言:Jupyter 是一个演算本环境,可在其中运行Python代码,并直观地显示Python 程序的输出,类似Mathematica 的效果。

环境:Ubuntu16.04+Python2.7

安装步骤:

  1. 安装pip
    这里只介绍pip,更多方式请参考网站介绍:http://jupyter.org/install。
sudo apt-get install python-pip

由于Ubuntu自带了Python,所以不需要安装Python。

  1. 安装Jupyter

可通过pip安装Jupyter:

pip install jupyter
  1. 运行Jupyter
jupyter notebook

第一次运行可能不成(我就是这样……)

[C 15:45:42.277 LabApp] Bad config encountered during initialization:
[C 15:45:42.277 LabApp] Could not decode '\xe6\x9c\xaa\xe5\x91\xbd\xe5\x90\x8d' for unicode trait 'untitled_notebook' of a LargeFileManager instance.

折腾了一番终于解决
在终端运行LANG=zn jupyter lab
(参考Github上面的讨论
再次运行jupyter notebook
## Ubuntu16.04下Jupyter演算本安装(解决notebook无法启动问题)好了,到这里Jupyter安装成功。