DYF
我思故我在!

Jupyter Notebook 和matplotlib

Jupyter Notebook安装

Python 3 :

python3 -m pip install --upgrade pip
python3 -m pip install jupyter

Python 2:

python -m pip install --upgrade pip
python -m pip install jupyter

matplotlib 安装

sudo apt-get install python-matplotlib

或者 pip安装

pip install matplotlib

遇到的问题

1)问题:ImportError: No module named matplotlib

解决:

安装 matplotlib
pip install matplotlib

2)问题:Jupyter 启动在服务器上远程无法访问

解决:用--ip 指定ip即可

jupyter notebook --ip=10.10.101.2

posted on 2017-12-20 17:36  o(∩_∩)o...  阅读(1534)  评论(0编辑  收藏  举报