jupyter 发表于 2021-06-29 更新于 2022-10-23 jupyter 安装1pip3 install jupyter 启动1jupyter-notebook 配置venv创建虚拟环境1python3 -m venv .venv 激活环境1source .venv/bin/activate 配置jupyter内核12pip install ipykernelpython -m ipykernel install --name venv --display-name "venv" 退出虚拟环境1deactivate 切换内核