python的好些教程都是jupyter文档,全英文,看着过于难受

于是找到这个仓库:jupyter_contrib_nbextensions,它可以为jupyter安装一个插件,方便地安装其余插件(nbTranslate,jupyter内容翻译插件)

操作流程如下:

安装jupyter_contrib_nbextensions

两种安装方式,视实际情况选择

  • conda

conda install -c conda-forge jupyter_contrib_nbextensions
  • pip

pip install jupyter_contrib_nbextensions

安装必须依赖

pip install webcolors uri-template jsonpointer isoduration fqdn

安装nbextensions的javascript和css

jupyter contrib nbextension install --user

安装翻译插件(nbTranslate)

jupyter nbextension enable nbTranslate/main

禁用翻译插件

jupyter nbextension disable nbTranslate/main