Created
March 9, 2018 10:26
-
-
Save HeikkiVesanto/94f2bc34486118e70ca2e0dd7ebe8019 to your computer and use it in GitHub Desktop.
Launch Python3 in OSGeo4W
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
set OSGEO4W_ROOT=C:\OSGeo4W64 | |
set PATH=%OSGEO4W_ROOT%\bin;%PATH% | |
set PATH=%PATH%;%OSGEO4W_ROOT%\apps\qgis\bin | |
@echo off | |
call "%OSGEO4W_ROOT%\bin\o4w_env.bat" | |
call "%OSGEO4W_ROOT%\bin\qt5_env.bat" | |
call "%OSGEO4W_ROOT%\bin\py3_env.bat" | |
@echo off | |
path %OSGEO4W_ROOT%\apps\qgis-dev\bin;%OSGEO4W_ROOT%\apps\grass\grass-7.2.2\lib;%OSGEO4W_ROOT%\apps\grass\grass-7.2.2\bin;%PATH% | |
cd /d %~dp0 | |
set direc=%~dp0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment