• 使用ubuntu环境

  • 安装miniconda3

查看 https://mirrors.bfsu.edu.cn/help 安装配置镜像等
  • 安装需要的包
pip install jupyter d2l torch torchvision
  • 下载代码并执行
wget https://zh-v2.d2l.ai/d2l-zh.zip
unzip d2l-zh.zip
jupyter notebool
  • 插件
pip install rise
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user --skip-running-check
  • 启动jupyter
# 自定义密码,当前为空
jupyter notebook --no-browser --port=8888 --ip=0.0.0.0 --NotebookApp.token='' --NotebookApp.password=''
# 可以添加一个快捷命令.bashrc
alias jup="nohup jupyter notebook --no-browser --port=8888 --ip=0.0.0.0 --NotebookApp.token='' --NotebookApp.password='' > jupyter.log 2>&1 & "

相关文章:

  • 2021-04-06
  • 2021-10-15
  • 2021-04-21
  • 2021-09-27
  • 2021-10-15
  • 2021-12-22
  • 2021-05-16
猜你喜欢
  • 2021-10-29
  • 2021-09-14
  • 2021-06-27
  • 2021-12-02
  • 2022-01-09
  • 2021-12-05
相关资源
相似解决方案