Skip to content

run standalone python #4

Description

@juanmanuelrq

Hi,

how can I configure my python script to run the code outside of QGIS GUI interface,

processing.run('Cost distance analysis:Least Cost Path', LCP_alg_params)

 processing.run('Cost distance analysis:Least Cost Path', LCP_alg_params)
  File "C:\OSGeo4W64\apps\qgis\python\plugins\processing\tools\general.py", line 106, in run
    return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
  File "C:\OSGeo4W64\apps\qgis\python\plugins\processing\core\Processing.py", line 125, in runAlgorithm
    raise QgsProcessingException(msg)
_core.QgsProcessingException: Error: Algorithm Cost distance analysis:Least Cost Path not found

best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions