在终端输入下面命令,启动后映射端口即可:
jupyter-lab --allow-root --ServerApp.ip='*' --ServerApp.port=8881 --ServerApp.open_browser='False' --ServerApp.token='' --ServerApp.disable_check_xsrf='True' --ServerApp.trust_xheaders='True' --ContentsManager.allow_hidden='True'
创建py310环境并注册 Jupyter 内核:
conda create -n py313 python=3.13 -y
conda activate py313
pip install ipykernel
python -m ipykernel install --user --name py313 --display-name "Python (py313)"