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