Robin's Blog

An easy way to install Jupyter Notebook extensions

I wrote a post a few months ago about a couple of useful Jupyter (formerly known as IPython) notebook extensions, and commented that they were a bit of a pain to install. Well, I’ve found a great way to get around that problem – an extension called nbextensions that will help you manage your notebook extensions.

After installing it (see below for more about how to do this), you can go to a new URL in the notebook /nbextensions, and you get the wonderful page below (click to enlarge):

Screen Shot 2015-12-13 at 12.18.32

Here you can browse through a list of extensions, read their documentation and enable/disable them – all very easily.

Installing the nbextensions can be a little tricky, but there are detailed instructions at the nbextensions Github page. I’ve tried to make it easier by building a conda package which you can install by running:

conda install -c https://conda.anaconda.org/robintw nbextensions

I haven’t tested this on many other computers – so beware that it may not work for you, and it will definitely only work on Jupyter 4.0 or newer (there are instructions on the nbextensions github page for how to get it working with IPython 2.0 and 3.0). Let me know if this package works for you – and enjoy your new extensions!


If you found this post useful, please consider buying me a coffee.
This post originally appeared on Robin's Blog.


Categorised as: Programming, Python


7 Comments

  1. […] you liked this post, then you may also like An easy way to install Jupyter Notebook extensions, Bokeh plots with DataFrame-based tooltips, and Orthogonal Distance Regression in […]

  2. […] you liked this post, then you may also like An easy way to install Jupyter Notebook extensions, Bokeh plots with DataFrame-based tooltips, and Orthogonal Distance Regression in […]

  3. […] (この記事が気に入った方は、Jupyter Notebook extensionsの簡単なインストール方法、Bokeh plotsとデータフレーム基盤のツールチップ、Pytohnにおける直交距離回帰もぜひご覧になってください。) […]

  4. Ruben Laguna says:

    I guess that nowadays the easiest way to get the extensions in Anaconda would be:

    conda install jupyter_contrib_nbextensions jupyter_nbextensions_configurator -c conda-forge

  5. Mier says:

    It doesn’t work in my pc. I also tried the one suggested in the comment. It returns:

    $ conda install jupyter_contrib_nbextensions
    Fetching package metadata ………
    Solving package specifications: .
    PackageNotFoundError: Package not found: ” Package missing in current win-64 channels:
    – jupyter_contrib_nbextensions

    You can search for packages on anaconda.org with

    anaconda search -t conda jupyter_contrib_nbextensions

  6. Mier says:

    It works :

    conda install -c conda-forge jupyter_contrib_nbextensions

  7. Good job says:

    Good post, keep

Leave a Reply

Your email address will not be published. Required fields are marked *