首先,在Ubuntu系统安装jupyter notebook
https://blog.youkuaiyun.com/dream_an/article/details/53333504这篇文章说的步骤太繁琐
第二步,改密码。
jupyter notebook --generate-config 来生成配置文件
随后执行jupyter notebook password
输入密码即可
第三步,设置权限
看share下面有没有jupyter文件夹,没有建一个
sudo chmod 777 ~/.local/share/jupyter/
这一步不执行,新建new python文件Untitled.ipynb时会出现“Permission denied: '/home/chen/.local/share/jupyter'”报错
第四部,运行
进入目标文件夹
jupyter notebook --no-browser --ip=***** --port=5009(随便设置)
生成网址后再windows浏览器打开即可。