Create and activate a virtual environment:
$ python -m venv ./venv
$ source venv/bin/activateInstall dependencies into your active environment:
(venv)$ python -m pip install -U pip jupyterlab ipywidgets matplotlib
(venv)$ python -m jupyter labextension install @jupyter-widgets/jupyterlab-managerStart Jupter Lab in the same directory where the examples are located:
(venv)$ python -m jupyterlab