TensorFlow Jupyter Notebook 和matplotlib安装配置


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM