Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Template Issue - python dependencies problem #41

Open
RodrigoMahalufRecasens opened this issue Dec 4, 2023 · 1 comment
Open

Comments

@RodrigoMahalufRecasens
Copy link
Contributor

RodrigoMahalufRecasens commented Dec 4, 2023

  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.
  1. My objective was to calculate the Betweenness Centrality metric for my 10 simulations, when I got an unexpected error:
    image

  2. Attached the instance and botched results in a zip

rick_instance.zip
firesim_231123_141751problems.zip

@fdobad fdobad changed the title hello Sample Template Issue Dec 4, 2023
@fdobad
Copy link
Member

fdobad commented Dec 27, 2023

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

@fdobad fdobad changed the title Sample Template Issue Sample Template Issue - python dependencies problem Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants