You can refer to the official website for installation.
To launch Jupyter Lab, run the following command:
pixi run jupyter lab
The Python environment and necessary packages will be automatically installed for you.
The lecture notes are available in the content/python_files
directory. To open the
Python file as notebook, you need to right click on the file and select Open with
->
Notebook
.
Alternatively, you can generate notebooks as well:
pixi run -e doc convert-to-notebooks
This will convert the Python files into notebooks in the folder content/notebooks
.
Test the deployment locally:
pixi run -e doc serve-jupyterlite
Then open http://[::]:8000/ in a web browser.
Note: firefox often complains about Service Workers not being initialized when running jupyterlite served from localhost. This prevents accessing the local dataset files. Use a different browser to test the local deployment.