通过pip给jupyter添加代码自动补全功能

  1. 安装nbextensions

    • pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com jupyter_contrib_nbextensions

    • jupyter contrib nbextension install --user

  2. 安装nbextensions_configurator

    • pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com jupyter_nbextensions_configurator

    • jupyter nbextensions_configurator enable --user

      如果缺少依赖,使用pip安装即可

      安装成功后,在jupyter上就会变成下图所示:
      图片说明