 In this video, you will learn how to install Miniconda, create an environment for the tutorials and use JupyterLab and the Python console from QGIS. First download the installer for Miniconda from this website. The link will be provided in the description of this video. Run the installer. Keep all the defaults and click install. After installation, uncheck these boxes and click finish. Then in the start menu, you can find the Anaconda prompt Miniconda 3. The 3 refers to Python 3. Now we need to create an environment with all the Python packages that we want to use for the tutorials. We use the command conda create, dash dash name, then the name of the environment, then dash c which means the channel where the packages need to be downloaded from, that's conda forge, and then the name of the packages. We need PCRuster, we need QGIS, we need a specific Python version, so therefore we specify Python equals 3.9, so it will use Python 3.9 instead of 3.10 if we don't define anything. That's because QGIS at this moment needs version 3.9. We also need matplotlib, JupyterLab, PyCRS, NumPy although it probably also comes with the other packages, and git to download the repository with the tutorials. Then you hit enter to install. The Python packages will now be fetched from the conda forge repository. It will also take care that the dependencies are met and that everything that you want will work well together, so you don't have to worry about that normally. I did it fast forward because this normally takes some time, and after installing the environment we can activate it by typing conda activate and then tutorials that's the name of the environment. In brackets before the prompt you see now tutorials instead of the base environment. I moved to the Z drive where I want to clone the repository, which basically means that I'm going to copy from GitHub the repository of the PCRuster tutorials that I want to use in this course. Now it has downloaded the files from the repository and I can find them here. These tutorials are in Jupyter notebooks and the best way to run them is to type JupyterLab and this will launch Jupyter from your browser and it will normally start with the launcher and you can choose to launch a new notebook, Python console, let's do that and here we can type Python commands, it uses ipython for example print hello world and with shift enter I can execute the command and the result will be printed here on the screen. With the plus I can add another launcher, let's add a terminal in this case is the Windows PowerShell and here you can use the command line interface to navigate your operating system. I can also create a Python file so here I can type a script, multiple lines of code that can then be executed and saved as a .py file. So let's make a simple script as a demonstration, a equals 1, b equals 7 and c is a plus b and we do print c. I can save this file, I can give it a name, if I remove everything here it will go to the root of where we started JupyterLab and I can click write and create a console for the editor so we can also run the code. You can choose which kind of console you want and we want a Python 3 console and then I can run this code by selecting the code and do shift enter then it will run in the console below, if you see it gives the result or we can also use the run menu to run all code or we can run selections. Now I can also run Jupyter notebook by just going to the folder and here I go to the contents page of the map algebra tutorial. Let's remove what we don't need and you can drag these tabs to a place where you want it so if I want one screen the Jupyter notebook and the Windows PowerShell and the Python console then I can do that in this way and this is very useful to have everything from the browser on screen so we can follow the tutorial, I can navigate my operating system using the terminal that can also run part of the code in the Python console. To run code in the Jupyter notebook you do shift enter. To close the JupyterLab server you simply go to file shutdown and then it stops the server. Normally you would save the state where you were so next time you launch it you have the same tabs open. Alternatively we can also use the Python console from QGIS because we have installed QGIS in this environment. So type QGIS to run the QGIS version that you have here in KONDA, this is version 3.18 because newer versions are not supported yet because some dependencies have not been solved. After starting QGIS you can click the button with the Python icon to run the Python console and there you can have a Python prompt where you can type Python code and run it there. You can also write scripts, you can write lines like print hello world and just do enter to run it and you can run scripts that you can write here in the editor. So you can write a script of a few lines here to demonstrate this and save the script and then you can run it and the result will be displayed in the console.