0%

jupyter

jupyter

安装

1
pip3 install jupyter

启动

1
jupyter-notebook

配置venv

创建虚拟环境
1
python3 -m venv .venv
激活环境
1
source .venv/bin/activate
配置jupyter内核
1
2
pip install ipykernel
python -m ipykernel install --name venv --display-name "venv"
退出虚拟环境
1
deactivate
切换内核