Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- SET OSGEO4W_ROOT=C:OSGeo4W64
- call "%OSGEO4W_ROOT%"bino4w_env.bat
- call "%OSGEO4W_ROOT%"appsgrassgrass-7.2.2etcenv.bat
- @echo off
- path %PATH%;%OSGEO4W_ROOT%appsqgis-devbin
- path %PATH%;%OSGEO4W_ROOT%appsgrassgrass-7.2.2lib
- path %OSGEO4W_ROOT%appsPython36;%OSGEO4W_ROOT%appsPython36Scripts;%PATH%
- set PYTHONHOME=%OSGEO4W_ROOT%appsPython36
- set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsqgis-devpython
- set PYTHONPATH=%PYTHONPATH%;%OSGEO4W_ROOT%appsPython36Libsite-packages
- set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%appsqgis-dev
- cmd.exe
- echo %PATH%
- C:OSGEO4~1appsPython36;C:OSGEO4~1appsPython36Scripts;C:OSGEO4~1appsPython27Scripts;C:OSGEO4~1bin;C:Windowssystem32;C:Windows;C:Windowssystem32WBem;C:OSGEO4~1appsqgis-devbin;C:OSGEO4~1appsgrassgrass-7.2.2lib
- echo %PYTHONHOME%
- C:OSGEO4~1appsPython36
- echo %PYTHONPATH%
- ;C:OSGEO4~1appsqgis-devpython;C:OSGEO4~1appsPython36Libsite-packages
- E:>python
- Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import qgis.core
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "C:OSGEO4~1appsqgis-devpythonqgis__init__.py", line 71, in <module>
- from qgis.PyQt import QtCore
- File "C:OSGEO4~1appsqgis-devpythonqgisPyQtQtCore.py", line 1, in <module>
- from PyQt5.QtCore import *
- ImportError: DLL load failed: The specified module could not be found.
- @ECHO OFF
- set OSGEO4W_ROOT=D:OSGeo4W64
- set PATH=%OSGEO4W_ROOT%bin;%PATH% set PATH=%PATH%;%OSGEO4W_ROOT%appsqgisbin
- @echo off call "%OSGEO4W_ROOT%bino4w_env.bat" call "%OSGEO4W_ROOT%binqt5_env.bat" call "%OSGEO4W_ROOT%binpy3_env.bat" @echo off path %OSGEO4W_ROOT%appsqgis-devbin;%OSGEO4W_ROOT%appsgrassgrass-7.2.2lib;%OSGEO4W_ROOT%appsgrassgrass-7.2.2bin;%PATH%
- cd /d %~dp0
- ::start cmd
Add Comment
Please, Sign In to add comment