1.2.1 Installation¶
LSAT is distributed in two ways: Installer for Windows and as source code.
1.2.1.1 Installation with the installer (Windows)¶
Download the newest LSAT installer
Run the installer and follow the instructions.
1.2.1.2 Installation with source code on Windows¶
Make sure you have Python 3 installed (3.7 tested), if not you can get it from python.org/downloads
Download LSAT
Navigate to the LSAT directory and open a PowerShell window (if you downloaded a zipped version you will need to unzip LSAT first).
Create a virtual environment
python -m venv venv
Activate the virtual environment (venv should appear in the command line, indicating you were successful)
.\venv\Scripts\activate
Install the required packages
python -m pip install -r requirements.txt
Additionally to the packages listed in the requirements.txt you will need GDAL (3.3.1 tested). Unfortunately, GDAL can usually not simply be installed with a pip command. You can either download a .whl file from Christoph Gohlkes fantastic website or build it yourself. Installing a .whl file:
python -m pip install *path to .whl file*
Start LSAT PM
python startMenu_main.py
1.2.1.3 Installation with source code on Linux (Ubuntu 20.04.3 tested)¶
Download LSAT
- Navigate to the LSAT directory and open a Terminal (if you downloaded a zipped version you willneed to extract LSAT first).
Install Python packages (venv, pip, python development tools), gdal and libraries for Qt
sudo apt install python3-venv python3-pip gdal-bin libgdal-dev python3-dev '^libxcb.*-dev'
Create a virtual environment
python3 -m venv venv
- Activate the virtual environment (venv should appear in the command line, indicating you weresuccessful)
source venv/bin/activate
Install the required packages
python3 -m pip install -r requirements.txt
Additionally to the packages listed in the requirements.txt you will need GDAL (3.0.4 tested). Unfortunately, GDAL can usually not simply be installed with the standard pip command. You need to specify the version based on the gdal version installed. To get the installed version run
ogrinfo --version
It will output something like: “GDAL $VERSION, released $RELEASEDATE”. Now install that version
python3 -m pip install gdal==$VERSION
Start LSAT PM
python3 startMenu_main.py