Using the conda-forge package¶
A package for xwidgets is available on the mamba (or conda) package manager. The package will also pull all the dependencies.
mamba install xwidgets -c conda-forge
From source with cmake¶
You can also install
xwidgets from source with cmake. On Unix platforms, from the source directory:
However, you need to make sure to have the required libraries available on your machine.
mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix .. make install
On Windows platforms, from the source directory:
mkdir build cd build cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=/path/to/prefix .. nmake nmake install