3

Any GUI doesn't appear when using PyQGIS standalone application. You have to construct it. Here is an example: from qgis.core import * from qgis.gui import * from qgis.PyQt.QtWidgets import * ### GUI Construction ### class MapViewer(QMainWindow): def __init__(self): QMainWindow.__init__(self, None) self._canvas = QgsMapCanvas() ...


3

Here is how GRASS should be imported (because of a bug it does not work, see more here, thanks Andrea Giudiceandrea): import sys import qgis.core OSGeo_folder = r'C:\OSGeo4W' sys.path.append(fr'{OSGeo_folder}\apps\qgis\python\plugins') import processing from grassprovider.Grass7AlgorithmProvider import Grass7AlgorithmProvider processing.core.Processing....


3

I do not have 3.22 installed yet, so not tested in that version. I have tested this with 3.20.3 installed with the new OSGeo4W installer. If it doesn't work for you I will delete this answer. Tested workflow is: Save the following batch file (e.g. pyqgis_grass78.bat): @echo off SET OSGEO4W_ROOT=C:\OSGeo4W call "%OSGEO4W_ROOT%"\bin\o4w_env.bat call &...


Only top voted, non community-wiki answers of a minimum length are eligible