Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Surface- and Ground-water Modeling

Spring Semester in Water and Environmental Management


Université La Salle, Beauvais
March 2020

Installation of all the needed software


Step 1. QGIS installation

Download the QGIS software from the website


https://qgis.org/en/site/forusers/download.html (install version 3.10*), by clicking on one of
the following links according to the characteristics of your pc (32 or 64 bits):

By clicking on one of the above links, the QGIS executable (a .exe file) will be downloaded.
It must be run to install the software (just go ahead through the installation procedure and
don’t modify any default settings)

* If you already have a different QGIS version (not older than 3.4), you don’t have to install
version 3.10. You can go to Step 3.
Step 2. Run QGIS

Run QGIS Desktop

If you are running QGIS for the first time, you could get something similar to the following
message. Choose the second option (don’t import QGIS 2 settings) and go ahead
Step 3. Installation of all the Python libraries needed to install the FREEWAT plugin

Close QGIS Desktop (if it is still open)

Click on the Start button, type osgeo4w -> right click on OSGeo4W Shell -> Open file path

Right click on the OSGeo4W Shell file -> Run as administrator

NOTE: if you also have QGIS2 installed, you should have two different OSGeo4W Shells. If so,
run one of them as administrator and go to the following slide: if the instruction reported in
the following slide doesn’t work, then it means that you are running the wrong OSGeo4W Shell!
Step 3. Installation of all the Python libraries needed to install the FREEWAT plugin

Type py3_env e click Enter

Two options can occur:

- The instruction is not run and you get an error (this means that you are not using the correct
OSGeo4W Shell; please, check the previous slide)

- The instruction is correctly run and no errors occur


If so, type python and click Enter (you should get the Python3 version installed on your pc)
Finally, type exit() and click Enter
Step 3. Installation of all the Python libraries needed to install the FREEWAT plugin

To install all the needed libraries, type (one by one) the following instructions and click Enter
to run each of them (wait few seconds while the installation is being performed, i.e., until the
blinking cursor appears again next to ‘C:\Windows\System32>’):

python3 -m pip install numpy


python3 -m pip install pandas
python3 -m pip install setuptools
python3 -m pip install isodate
python3 -m pip install requests
python3 -m pip install matplotlib
python3 -m pip install flopy==3.3.0
python3 -m pip install xlrd
python3 -m pip install xlwt
python3 -m pip install seaborn

NOTE: respect the spaces and characters and the lower case letters in the above instructions!

NOTE: your pc must be connected to a reliable internet connection!


Step 3. Installation of all the Python libraries needed to install the FREEWAT plugin

At the end of each installation, you will get messages like:

Successfully installed matplotlib-x.x.x


(here, x.x.x is the installed version
of the matplotlib library)

NOTE: it could happen that the


needed libraries are already
installed on your pc: should this be
the case, you will get
Requirement already satisfied

NOTE: should you get any yellow


lines, don’t worry (those are
warnings, not errors).
Should you get any red lines,
instead, please send me a screenshot
by email (g.defilippis@santannapisa.it)

Once done, you can close the shell


Step 4. Run the FREEWAT plugin

Run again QGIS Desktop

Go to Settings -> User Profiles -> Open Active Profile Folder

In the folder that you get, open the sub-folder python and create here a sub-folder renamed
plugins (it could already exist)
Step 4. Run the FREEWAT plugin

Extract the content of the freewat_Q3_beta0.1 zip archive in the plugins sub-folder

Close QGIS Desktop and open it again to let the FREEWAT plugin to be loaded

Go to Plugins -> Manage and Install Plugins…

In the Settings tab, be sure that the option Show also


experimental plugins is checked
Step 4. Run the FREEWAT plugin

In the All tab, type freewat in the serch bar and check the plugin found in the list

Close the plugins window


Step 4. Run the FREEWAT plugin

The FREEWAT menu appears in the menu bar of the QGIS Desktop

The FREEWAT plugin is ready to be used!

You might also like