2.5. Встановлення в ОС Mac¶
2.5.1. Завантаження та встановлення QGIS¶
Visit the website KyngChaos and download the latest QGIS disk image (including Python and GDAL). QGIS 3.16 is recommended at the moment.
WARNING: it is recommended to install only one versions of QGIS; for a clean QGIS installation, uninstall any previous version of QGIS and remove all the related directories.
Follow the Readme instructions and clean up any previous path settings. Python must be installed prior to GDAL and QGIS.
Тепер QGIS встановлено.

2.5.2. Встановлення Semi-Automatic Classification Plugin¶
- Запустіть QGIS;
- З головного меню виберіть
Plugins
>Manage and Install Plugins
;

З меню
All
виберіть Semi-Automatic Classification Plugin та натисніть кнопкуInstall plugin
;ПОРАДА: у випадку виникнення проблем або офлайн-встановлення рекомендовано ознайомитись з How to install the plugin manually? та How to install the plugin from the official SCP repository?.

- SCP повинен бути активований автоматично; тим не менше, переконайтесь, що в меню
Installed
активовано Semi-Automatic Classification Plugin (для завершення встановлення SCP може знадобитись перезапуск QGIS);

2.5.3. Налаштування модуля¶
Тепер, коли Semi-Automatic Classification Plugin встановлено, до QGIS додано відповідні панелі. Також, меню SCP доступне з панелі меню QGIS. Панель, що плаває, та панель інструментів можна переміщувати відповідно до ваших потреб, як це показано на рисунку.

Для зменшення часу обробки рекомендується налаштувати доступну RAM. З SCP menu виберіть
Settings > Processing
.

У Settings, встановіть значення Available RAM (MB)
вдвічі менше за системну RAM. Наприклад, якщо ваша система має 2 Гб RAM, то встановіть значення 1024 Мб.

2.5.4. Installation issues¶
In case of missing dependencies, you could get error messages such as the following example with matplotlib:

A solution is to follow these steps as described in this GIS Stackexchange post :
Download and install Python from https://www.python.org/downloads/mac-osx/ selecting the macOS 64-bit installer;
Download and install the complete GDAL installer from https://www.kyngchaos.com/software/frameworks/ ;
TIP: In case of warnings about malicious software go to the
Apple menu
>System Preferences
>Security & Privacy
>General Tab
>Allow Anyway
; Python should be inLibrary
>Frameworks
>Python.framework
; GDAL should be inLibrary
>Application Support
>GDAL
Open QGIS, go to
Settings
>Options
>System
>Environment
and enableUse Custom Variables
;Select
Prepend
, undervariable
enterPATH
, undervalue
enter the path to GDAL/Library/Frameworks/GDAL.framework/Programs:/Library/Frameworks/Python.framework/Versions/3.8/bin:
;TIP: In case of GDAL was installed through Macports, the path to GDAL should be
/opt/local/bin/:
Restart QGIS.