Setting up a Python environment#
Extract the content of the downloaded zip file.
Open a terminal and change to the directory.
cd path/to/mnb-image-analysis-main
Create the Python environment.
pixi install --all
What happens?
The Python environment with all the dependencies is created in a sub-folder
.pixi. You can activate the environment using:pixi shell
And deactivate the environment with:
exit
Start the notebook#
In a terminal within the repository folder, i.e.:
cd path/to/mnb-image-analysis-main
Run following command to start Jupyter Lab:
pixi run jupyter lab
This will open a browser for interactive coding in noteoboks.