TensorFlow 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
- 上一篇 »Python更换镜像源和安装jupyter
- 下一篇 »python安装和jupyter的使用