ubuntu 22.04 下启动 jupyter notebook 服务并使用 conda 环境

464 阅读1分钟

安装 annaconda

  1. 官网获取对应版本:64-Bit (x86) Installer
  2. 执行 sh 脚本:bash **.sh,根据操作提示安装

安装 jupyter notebook 服务

pip install jupyter

安装 nb_conda_kernels

  1. 进入 base 环境:conda activate base
  2. 安装:conda install nb_conda_kernels

启动 jupyter 服务

jupyter notebook --ip=0.0.0.0 --allow-root