Skip to content

Instantly share code, notes, and snippets.

@acgeospatial
Last active February 25, 2019 08:28
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/0029daea1194c75b24a4b2357dc29d8a to your computer and use it in GitHub Desktop.
Save acgeospatial/0029daea1194c75b24a4b2357dc29d8a to your computer and use it in GitHub Desktop.
PyQGIS for windows 10 on QGIS LTR 3.4.5-Madeira
@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-ltr\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-ltr\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