Installation
Using the conda-forge package
We provide a package for the mamba (or conda) package manager. Installing xwidgets and the C++ kernel
mamba install -c conda-forge xeus-cpp xwidget
Then, the front-end extension must be installed for either the classic notebook or JupyterLab.
Installing the extension for JupyterLab .. code:: bash
mamba install -c conda-forge jupyterlab_widgets
Installing the extension for the classic notebook .. code:
mamba install -c conda-forge widgetsnbextension
From source with cmake
You can also install xwidgets from source with cmake.
However, you need to make sure to have the required libraries available on your machine.
See environment-dev.yml
for the development dependencies on Conda-Forge.
cmake -B build/ -G Ninja -D CMAKE_INSTALL_PREFIX=/path/to/prefix -D CMAKE_BUILD_TYPE=Release
cmake --build build/
cmake --install build/