去掉PYTHONHOME

This commit is contained in:
wzy-warehouse
2026-06-20 17:53:53 +08:00
parent b7a25899b2
commit 480e793ff8
-1
View File
@@ -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}"