Skip to content

Instantly share code, notes, and snippets.

@acgeospatial
Created February 22, 2019 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acgeospatial/323b2a1751b556b5438ec0f65c24b92d to your computer and use it in GitHub Desktop.
Save acgeospatial/323b2a1751b556b5438ec0f65c24b92d to your computer and use it in GitHub Desktop.
pyqgis.cmd for QGIS 3.4.4
@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W64
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-7.6.0\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin
path %PATH%;%OSGEO4W_ROOT%\apps\grass\grass-7.6.0\lib
path %PATH%;C:\OSGeo4W64\apps\Qt5\bin
path %PATH%;C:\OSGeo4W64\apps\Python37\Scripts
set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%\apps\qgis\python
set PYTHONHOME=%OSGEO4W_ROOT%\apps\Python37
cmd.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment