jupyter 安装 插件的问题

想着为jupyter notebook 添加目录大纲,上网搜索了以下,发现安装jupyter_contrib_nbextensions这个插件即可,但是按照网上的教程安装后,却怎么也安不上,明明已经显示安装成功了,但是进入jupyter notebook后就是看不到Nbextensions。是不是因为我的jupyternotebook不是anaconda中的,而是自己通过pip install命令安装的。不光是这个插件的问题,再比如说jupyter notebook汉化的问题,都说添加一个用户变量就行,但是我添加完了启动jupyer notebook还是英文的。我想是不是因为网上的这些教程都只针对anaconda中的jupyter notebook,那我用pip install 命令安装的应该怎么办呢?

望采纳
可能是因为你的jupyter notebook不是anaconda中的,而是自己通过pip install命令安装的,所以安装的插件可能没有被正确的安装到jupyter notebook中。你可以尝试使用conda安装jupyter_contrib_nbextensions插件,或者使用pip install --user jupyter_contrib_nbextensions来安装插件,看看是否可以解决

  • pip安装的jupyter notebook安装jupyter_contrib_nbextensions插件
  1. 确保您已经安装了jupyter notebook。如果没有,用以下命令安装:
pip install jupyter


  1. 安装jupyter_contrib_nbextensions插件:
pip install jupyter_contrib_nbextensions


  1. 安装完成后,运行以下命令启用jupyter_contrib_nbextensions:
jupyter contrib nbextension install --user


  1. 最后,启动jupyter notebook并在浏览器中打开notebook。单击“Nbextensions”选项卡以查看已安装的nbextensions。可以启用/禁用nbextensions,并配置其选项。