I have written a Python processing script that contains the call and solution of an optimization model.
Everything works perfectly for me. My colleague always gets the error message: No executable found for solver ‘glpk’. Even if we specify the absolute path of the .exe.
The normal Python finds the solver path. QGIS seems to have a problem with the solver path.
The original solver was created with the following parameters:
executable: C:UsersxxxxxAppDataRoamingPythonPython39site-packagesglpk-5.0Librarybin
type: _glpk_shell
_args: ()
options: {}
Execution failed after 28.03 seconds
Does anyone have an idea what the problem could be?
The solver path to the .exe is located both in the environment variables of the work computer and in the QGIS environment variables.
user25433359 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.