Hi Luke,
it looks like your QGISenv.bat does not add the QGIS internal plugin
folder to the PYTHONPATH.
You may use something like:
set PYTHONPATH=^
%OSGEO4W_ROOT%\apps\%QGIS_ENV%\python;^
%OSGEO4W_ROOT%\apps\%QGIS_ENV%\python\plugins;^
%PYTHONPATH%
where OSGEO4W_ROOT is the path to where yo
I have the need to launch QGIS from a python file due to some other checks I
need to setup before it is running. I convert this python file to an exe but
Windows Defender flags it as a virus. The exe is created from a batch (.cmd)
file with the following calls:
call "QGISenv.bat"
call "python