Update jupyter.sh

This commit is contained in:
spiritlhl 2023-07-27 18:18:09 +08:00 committed by GitHub
parent cad7dd2570
commit 43938c7b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,8 +276,12 @@ query_jupyter_info() {
echo "Error: Jupyter is not installed on this system."
return 1
fi
check_ipv4
jpyurl="http://${IPV4}:13692/"
source activate jupyter-env && jupyter server list && conda deactivate
green "已查询登陆信息如上"
green "如果你是在云服务上运行,那么请打开 ${jpyurl} 如果是在本地安装的,请打开 http://127.0.0.1:13692/"
green "token详见上方打印信息或当前目录的nohup.out日志"
green "如果想要手动查询,输入 source activate jupyter-env && jupyter server list && conda deactivate 即可查询"
}