SET PYTHONHOME=%OSGEO4W_ROOT%\apps\Python37
PATH %OSGEO4W_ROOT%\apps\Python37\Scripts;%PATH%2. pyQgis-PyCharm.bat
SET OSGEO4W_ROOT=C:\Program Files\QGIS 3.4
SET QGIS_HOME=%OSGEO4W_ROOT%
CALL "%OSGEO4W_ROOT%\bin\o4w_env.bat"
CALL "%OSGEO4W_ROOT%\bin\qt5_env.bat"
CALL "%OSGEO4W_ROOT%\bin\py3_env.bat"
set PATH=%OSGEO4W_ROOT%\apps\qgis-ltr;%PATH%
set PATH=%OSGEO4W_ROOT%\apps\qgis-ltr\bin;%PATH%
set PATH=%OSGEO4W_ROOT%\apps\qgis-ltr\python;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT%/apps/qgis-ltr
set GDAL_FILENAME_IS_UTF8=YES
rem Set VSI cache to be used as buffer, see #6448
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set QT_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\qgis-ltr\qtplugins;%OSGEO4W_ROOT%\apps\qt5\plugins
set PYTHONPATH=%OSGEO4W_ROOT%\apps\qgis-ltr\python
SET PYCHARM="C:\Program Files\JetBrains\PyCharm Community Edition 2018.3.2\bin\pycharm64.exe"
start "PyCharm aware of QGIS" /B %PYCHARM% %*3. PyCharm
- File > Settings > Project: xxxx > Project Interpreter
- C:\Program Files\QGIS 3.4\bin\python3.exe
- C:\Program Files\QGIS 3.4\bin\pythonw3.exe
- C:\Program Files\QGIS 3.4\apps\Python37\python.exe
- C:\Program Files\QGIS 3.4\apps\Python37\pythonw.exe
중 하나 ㅡㅡ;
댓글 없음:
댓글 쓰기