去掉PYTHONHOME
This commit is contained in:
@@ -141,7 +141,6 @@ def _generate_bat_wrapper(qgis_root: str, python_path: str, runner_script: str)
|
|||||||
|
|
||||||
bat_content = f"""@echo off
|
bat_content = f"""@echo off
|
||||||
chcp 65001 >nul
|
chcp 65001 >nul
|
||||||
set "PYTHONHOME={python_dir}"
|
|
||||||
set "PYTHONPATH={qgis_python_dir}"
|
set "PYTHONPATH={qgis_python_dir}"
|
||||||
set "QGIS_PREFIX_PATH={qgis_app_dir}"
|
set "QGIS_PREFIX_PATH={qgis_app_dir}"
|
||||||
set "QT_PLUGIN_PATH={qtplugins};{qt5_plugins}"
|
set "QT_PLUGIN_PATH={qtplugins};{qt5_plugins}"
|
||||||
|
|||||||
Reference in New Issue
Block a user