[WINDOWS] EnPT run script not found after installing enpt_enmapboxapp from conda.
When installing enpt_enmapboxapp from conda-forge on Windows, the wrong EnPT run script is installed (the .sh instead if the .bat). This causes the following exception:
Traceback (most recent call last):
File "D:\Programme\mambaforge\envs\enmapbox\Lib\site-packages\enpt_enmapboxapp\enpt_external_algorithm.py", line 121, in _locate_enpt_run_script
return check_output('where enpt_run_cmd.bat', shell=True).decode('UTF-8').strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Programme\mambaforge\envs\enmapbox\Lib\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Programme\mambaforge\envs\enmapbox\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'where enpt_run_cmd.bat' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Programme\mambaforge\envs\enmapbox\Lib\site-packages\enpt_enmapboxapp\enpt_external_algorithm.py", line 195, in processAlgorithm
path_enpt_runscript = self._locate_enpt_run_script(conda_root)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Programme\mambaforge\envs\enmapbox\Lib\site-packages\enpt_enmapboxapp\enpt_external_algorithm.py", line 129, in _locate_enpt_run_script
raise EnvironmentError('The EnPT run script could not be found. Please make sure, that enpt_enmapboxapp '
OSError: The EnPT run script could not be found. Please make sure, that enpt_enmapboxapp is correctly installed into your QGIS Python environment.