To run the tutorial locally, you should first install conda (or mamba).
It is also suggested that you have a recent version of git
. Check out how to install git
on your operating system.
Go to the directory on your machine where you want to download the material and clone the repository:
git clone https://github.com/empa-scientific-it/python-tutorial
Alternatively, you can manually download a ZIP archive with the latest version of the material:
Extract the archive in a directory of your choice.
Enter the tutorial folder with
cd /path/to/python-tutorial
You should now create a new environment with conda
:
conda env create -f binder/environment.yml
Warning
If you are on Windows and using Command Prompt or the PowerShell, please make sure to adjust the paths in the commands above accordingly.
Then activate the environment with
conda activate python-tutorial
You can update the existing environment (that is, downloading the latest version of the packages) with:
conda env update -f binder/environment.yml
Finally, launch JupyterLab with
jupyter lab