Installation

With Conda or Mamba

xeus-sqlite has been packaged for the conda package manager.

To ensure that the installation works, it is preferable to install xeus-sqlite in a fresh conda/mamba environment. It is also needed to use a miniconda installation because with the full anaconda you may have a conflict with the zeromq library which is already installed in the anaconda distribution.

The safest usage is to create an environment named xeus-sqlite with your miniconda installation

conda create -n xeus-sqlite
conda activate xeus-sqlite # Or `source activate xeus-sqlite` for conda < 4.6
mamba create -n xeus-sqlite
mamba activate xeus-sqlite

Then you can install in this freshly created environment xeus-sqlite and its dependencies

conda install xeus-sqlite notebook -c conda-forge
mamba install xeus-sqlite notebook -c conda-forge

or, if you prefer to use JupyterLab

conda install xeus-sqlite jupyterlab -c conda-forge
mamba install xeus-sqlite jupyterlab -c conda-forge

From Source

You can install xeus-sqlite from source with cmake. This requires that you have all the dependencies installed in the same prefix.

conda install cmake nlohmann_json xtl cppzmq xeus sqlite sqlitecpp cpp-tabulate=1.3 xvega xproperty jupyterlab -c conda-forge
mamba install cmake nlohmann_json xtl cppzmq xeus sqlite sqlitecpp cpp-tabulate=1.3 xvega xproperty jupyterlab -c conda-forge
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