Jupyter使用总结

一、Jupyter环境的搭建pip下载跟随anaconda下载二、高效使用,安装扩展插件一般只需要下面两条命令,就可以重新打开就可看见新安装的插件环境。pip install jupyter_contrib_nbextensions或者jupyter contrib nbextension i...

2020年8月29日
271字
7 阅读

一、Jupyter环境的搭建

  1. pip下载
  2. 跟随anaconda下载

二、高效使用,安装扩展插件


一般只需要下面两条命令,就可以重新打开就可看见新安装的插件环境。


pip install jupyter_contrib_nbextensions


或者


jupyter contrib nbextension install


但是pip下载完,会出现jupyter_contrib_nbextension扩展功能后不显示Nbextensions标签的bug,在此记录下解决的方式。


三、扩展插件不显示的解决方法

  1. 如果之前已经用上述两条命令之一安装了上述包,且用pip list查看的确成功安装,则依次进行下面删除命令(选y):
    pip uninstall jupyter_contrib_nbextensions
    pip uninstall jupyter_nbextensions_configurator
  2. 打开Anaconda Prompt窗口,执行第一个命令,用于安装nbextensions:
    pip install jupyter_contrib_nbextensions
  3. 再执行第下面命令,用于安装 javascript and css files:
    jupyter contrib nbextension install --user
  4. 最后执行,用于安装configurator:
    pip install jupyter_nbextensions_configurator


参考

文章评论区

欢迎留言交流

未登录,请先注册或登录后发表评论。

Leave comment