fire2a / fire-analytics-qgis-processing-toolbox-plugin

QGIS>Plugins>ManageAnd...>Settings>Add>URL: https://fire2a.github.io/fire-analytics-qgis-processing-toolbox-plugin/plugins.xml Search:Fire>Install Plugin
https://fire2a.github.io/docs/
GNU Affero General Public License v3.0
2 stars 3 forks source link

Sample Template Issue - python dependencies problem #41

Open RodrigoMahalufRecasens opened 11 months ago

RodrigoMahalufRecasens commented 11 months ago
  1. My OS is Windows 11 Pro, version 23H2, build 22631.2715.

    • QGIS 3.32.3-Lima.
    • Fire-toolbox version 0.1.7. Already updated and restarted all I could, the os, qgis and the plugin.
  2. My objective was to calculate the Betweenness Centrality metric for my 10 simulations, when I got an unexpected error: image

  3. Attached the instance and botched results in a zip

rick_instance.zip firesim_231123_141751problems.zip

fdobad commented 10 months ago

This error raised by networkx happens when not using an updated version (>=2.7). Please reinstall the python dependencies by:

  1. Download the updated requirements list.

    • By 2dary click on the link > Save As
    • Or Ctrl+S if you already opened a new tab
    • Now assuming it downloaded into you user's Downloads\requirements.txt
  2. Open the OSGeo4W Shell corresponding to your qgis by: Start Menu > type: osgeo > click on the icon (the links are in your version C:\ProgramData\Microsoft\Windows\Start Menu\Programs\QGIS 3.34.1 folder) image

  3. Update pip, install the list by typing into the terminal: image

run o-help for a list of available commands
C:\Program Files\QGIS 3.28.12>python3.exe -m pip install --upgrade pip
C:\Program Files\QGIS 3.28.12>python3.exe -m pip install -r C:\Users\YOUR_USERNAME\Downloads\requirements.txt
  1. ReOpen QGIS