第一步
#Python2.7
$sudo python2 -m pip install ipykernel
$sudo python2 -m ipykernel install
#Python3
$sudo python3 -m pip install jupyterhub notebook ipykernel
$sudo python3 -m ipykernel install
第二步
$sudo apt-get install build-essential
第三步
#ForPython2.7
$sudo pip install jupyter
#ForPython3
$sudo pip3 install jupyter
#Python2.7
$sudo apt-get build-dep python-matplotlib python-tk
#Python3
$sudo apt-get build-dep python3-matplotlib python3-tk
測(cè)試
$mk dir tf-notebooks
$cd tf-notebooks
$jupyter notebook