I am trying to add the PyQGIS in PyScripter, I have followed the tutorial provided in QGIS tutorial: IDE settings for writing and debugging plugins. I have created the bat file as follows:
SET OSGEO4W_ROOT=C:\OSGeo4W
SET QGISNAME=qgis
SET QGIS=%OSGEO4W_ROOT%\apps\%QGISNAME%
SET QGIS_PREFIX_PATH=%QGIS%
SET PyScripter="C:\Program Files\PyScripter\PyScripter.exe"
CALL %OSGEO4W_ROOT%\bin\o4w_env.bat
SET PATH=%PATH%;%QGIS%\bin
SET PYTHONPATH=%QGIS%\python;%PYTHONPATH%
REM PYTHONHOME: %OSGEO4W_ROOT%\bin
REM PYTHONPATH: %OSGEO4W_ROOT%\apps\Python37\lib;%OSGEO4W_ROOT%\apps\qgis\python;%OSGEO4W_ROOT%\apps\Python37\Lib\site-packages
start "script" /B %PyScripter% %*"
The error message appears again:ModuleNotFoundError: No module named 'qgis'
.
Note: I am using QGIS 3.10 and python 37.