我用的python3
sudo pip3 install ipython3
sudo pip3 install notebook
#修改密码
$ python3 -c "import IPython;print(IPython.lib.passwd())"
Enter password:
Verify password:
sha1:daf2cc9fecd8:8877d499df35692860078e18d82af96fd9e5e4c6
jupyter notebook #默认监听localhost:8889 可加--ip=0.0.0.0参数使其监听0.0.0.0