Using pip

pip install ipycanvas

Using conda

conda install -c conda-forge ipycanvas

JupyterLab extension

If you have JupyterLab, you will also need to install the JupyterLab extension. In order to install the JupyterLab extension, you will need npm to be installed. You can easily install npm with conda:

conda install -c conda-forge nodejs

Then you can install the JupyterLab extension:

jupyter labextension install @jupyter-widgets/jupyterlab-manager ipycanvas

Development installation

For a development installation (requires npm):

git clone
cd ipycanvas
pip install -e .

# If you are developing on the classic Jupyter Notebook
jupyter nbextension install --py --symlink --sys-prefix ipycanvas
jupyter nbextension enable --py --sys-prefix ipycanvas

# If you are developing on JupyterLab
jupyter labextension install @jupyter-widgets/jupyterlab-manager .