Ubuntu 22.04 LTS下Jupyter使用

1.安装Jupyter

pip install jupyter

2.打开Jupyter(注意该命令运行路径即为最后jupyter的根路径)

jupyter notebook

         运行后会显示返回,其中包含该消息

[I 14:57:33.086 NotebookApp] http://localhost:8888/?token=00000000000000

         token=后即为token值

3.将远端Linux上jupyter的8888端口映射回本地(本机则无需此步)

 ssh -L8888:localhost:8888 username@远端ip

4.在本机浏览器输入localhost:8888而后填入上面的token值或者直接输入http://localhost:8888/?token=00000000000000,token=后修改为你的token值

猜你喜欢

转载自blog.csdn.net/qsdftuyiop/article/details/129953514