<div dir="ltr"><div>As you are using QGIS 3.14, I would suggest you to use qgis_process if you can.</div><div>Do you really want to use PyQGIS?<br></div><div><br></div><div>But if you really need PyQGIS, maybe the path where your script is located is not known to your standalone script ?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 2 nov. 2020 à 17:33, PALMIER Patrick (Responsable de groupe) - CEREMA/DTerNP/DATHa/MT <<a href="mailto:Patrick.Palmier@cerema.fr">Patrick.Palmier@cerema.fr</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    I work with Qgis 3.14 in Windows 10<br>
    <br>
    I try to call a processing algorithm from a python stand alone app,
    <br>
    I want to run the following script from the custom Networks
    algorithm provider but I have the message that the algorithm is not
    known<br>
    <br>
    How to register the provider in the processing registry to be able
    to call it?<br>
    <br>
    <br>
        QgsApplication.setPrefixPath("C:/Program Files/QGIS
    3.14/apps/qgis", True)<br>
        qgs = QgsApplication([], False)<br>
    <br>
        qgs.initQgis()<br>
        import processing<br>
        from processing.core.Processing import Processing<br>
        Processing.initialize()<br>
    <br>
    <br>
    <br>
        processing.run("Networks:musliw_simple_matrix",
    {'NODES':'G:/BD_DREAL/2020/script_modele_resmultimodal_light   
/noeuds_light_hdf_be.gpkg','NUM':'num','START_POINT':'708675.425564,7063676.157556
    [EPSG:2154]','END_POINT':'708675.425564,7063676.157556
[EPSG:2154]','DEMAND':1,'DAY':1,'TIME':'09:00:00','DEPARTURE':1,'OUTPUT':'G:/BD_DREAL/2020/script_modele_resmultimodal_light/matrice.txt','WRITE_MODE':0})<br>
    <br>
    Thanks<br>
    <br>
    Best regards<br>
    <br>
    <br>
    <div>-- <br>
      <br>
      <table width="715" cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr valign="">
            <td>
              <p style="margin-bottom:0cm" align="LEFT">
                <font size="3" face="Helvetica, Arial,sans-serif"><b>
                    Patrick Palmier
                  </b></font><br>
                <font size="1" face="DaxOT-Regular" color="#666666"><b>
                    Responsable du groupe Mobilités et Territoires
                    <br>
                    DATHa / MT </b></font><br>
                <font size="1" face="DaxOT-Regular" color="#666666"><b>
                    Tél.: +33(0)3 20 49 60 70- Port : +33(0)7 77 34 25
                    07
                  </b>
                </font>
              </p>
            </td>
          </tr>
          <tr valign="bottom">
            <td>
              <img src="cid:17589e593b02fea98ed1" name="m_5961087061353623780_bloc logo" border="0"> <br>
              <font size="1" face="DaxOT" color="#666666">
                Cerema Nord-Picardie / 44 ter rue Jean-Bart - CS20275 -
                59019 LILLE cedex <br>
                <font size="1" face="DaxOT" color="#666666">
                  <br>
                </font>
              </font></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>

_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>