远程连接jupyter
1.下载jupyter
pip3 install jupyter
2.启动ipython3,为登录jupyter时设置密码
from notebook.auth import passwd
passwd()
输入密码两次
将output里面引号中间的一串加密密码串保存下来。
3.配置jupyter
#首先输入
jupyter notebook --generate-config
在~/.jupyter文件夹下就有 jupyter_notebook_config.py
输入jupyter notebook --generate-config
,在~/.jupyter
文件夹下就有jupyter_notebook_config