[PYTHON] Use nb extensions with Anaconda's Jupyter notebook

Introduction

Many people use Jupyter notebook for data analysis, machine learning, optimization, and visualization. Also, it seems that more and more people are using anaconda to build a Python execution environment. An extension of Jupyter is nbextensions, but it seems that it is simply not available in the latest anaconda jupyter. This section describes how to use nbextensions with anaconda's jupyter.

Use Anaconda cloud

With the conda command, you can install packages that have been confirmed to work by continueum. Apart from that, there are community package sites that specialize in anaconda, such as PyPI. That is anaconda cloud. Using the packages provided by the predecessors of this site can make installations that are normally difficult to do very fast.

One way to use nbextensions with anaconda's jupyter is as follows:

bash


conda install -y -c conda-forge jupyter_contrib_nbextensions

After installation, let's start jupyter notebook. You can use nbextensions as below.

image

You can also see the packages installed or updated by conda-forge with "conda list | grep conda-forge".

Quickly try with docker

I also prepared docker. You can easily try it as follows. Please refresh your browser after starting docker.

bash


firefox http://localhost:8888 &
docker run -it --rm -p 8888:8888 tsutomu7/jupyter

Search on Anaconda cloud

The above method was investigated with the anaconda command of the anaconda cloud. If you do the following, some candidates will come out, so as a result of various trials, conda-forge seems to be good, so I am using it.

bash


anaconda search nbextensions

that's all

Recommended Posts

Use nb extensions with Anaconda's Jupyter notebook
Use pip with Jupyter Notebook
Use Cython with Jupyter Notebook
Use markdown with jupyter notebook (with shortcut)
Use apache Spark with jupyter notebook (IPython notebook)
Use Jupyter Lab and Jupyter Notebook with EC2
How to use jupyter notebook with ABCI
Use nim with Jupyter
Using Graphviz with Jupyter Notebook
Play with Jupyter Notebook (IPython Notebook)
How to use Jupyter Notebook
Use Bokeh with IPython Notebook
I want to use a virtual environment with jupyter notebook!
Allow external connections with jupyter notebook
Formatting with autopep8 on Jupyter notebook
Visualize decision trees with jupyter notebook
Make a sound with Jupyter notebook
Add more kernels with Jupyter Notebook
Convenient analysis with Pandas + Jupyter notebook
Easy to use Jupyter notebook (Python3.5)
How to use jupyter notebook without polluting your environment with Docker
I want to blog with Jupyter Notebook
Try SVM with scikit-learn on Jupyter Notebook
[Explanation with image] Use pickle with Kaggle's NoteBook
Use BigQuery from your local Jupyter Notebook
Linking python and JavaScript with jupyter notebook
Jupyter Notebook Basics of how to use
Use vim keybindings on Docker-launched Jupyter Notebook
[Jupyter Notebook memo] Display kanji with matplotlib
How to use Jupyter notebook [Super Basic]
Rich cell output with Jupyter Notebook (IPython)
I wanted to use jupyter notebook with docker in pip environment (opticspy)
Specify the browser to use with Jupyter Notebook. Especially Mac. (And Vivaldi)
Use Jupyter Notebook with Visual Studio Code on Windows 10 + Python + Poetry + pyenv-win
Use jupyter notebook by connecting from another host
Jupyter Notebook memo
How to debug with Jupyter or iPython Notebook
Introducing Jupyter Notebook
When Html cannot be output with Jupyter Notebook
Analytical environment construction with Docker (jupyter notebook + PostgreSQL)
Data analysis for improving POG 2 ~ Analysis with jupyter notebook ~
What to do if the latest Jupyter Notebook and nb extensions don't work
Verify NLC accuracy with Watson Studio's Jupyter Notebook
Powerful Jupyter Notebook
Enable Jupyter Notebook with conda on remote server
Try using conda virtual environment with Jupyter Notebook
Fill the browser with the width of Jupyter Notebook
Jupyter notebook password
Jupyter Notebook memo
Graph drawing with jupyter (ipython notebook) + matplotlib + vagrant
Jupyter Notebook Settings-How to use (EC2 Amazon Linux 2)
Add / remove kernel to use jupyter with venv
Virtual environment construction with Docker + Flask (Python) + Jupyter notebook
Easy Machine Learning with AutoAI (Part 4) Jupyter Notebook Edition
Monitor the training model with TensorBord on Jupyter Notebook
Drawing a tree structure with D3.js in Jupyter Notebook
Import specific cells from other notebooks with Jupyter notebook
EC2 provisioning with Vagrant + Jupyter (IPython Notebook) on Docker
Multiple selections with Jupyter
Candlestick with plotly + Jupyter
Use mecab-ipadic-neologd with igo-python