norman-tom / pyromb

Pyromb is a python package to convert a catchment diagram developed in QGIS, or any GIS package, to a RORB or WBNM control file
MIT License
6 stars 3 forks source link

Can not install Plugin RORB Plugin #8

Closed ChamathAkalankancbc closed 11 months ago

ChamathAkalankancbc commented 11 months ago

Hi Norman,

Thank you for developing plugin for RORB. However when I try to install the plugin, it gives the following error. Could you please help me to fix this. I am using QGIS version 3.22.4

image Capture

Thank you and appreciate your help

norman-tom commented 11 months ago

Hi,

the issues is that you need to install the Pyromb library to the QGIS environment. Ill put the instructions below but it is detailed on the Pyromb homepage https://github.com/norman-tom/pyromb


Installing for the QGIS Runoff Model Builder plugin: For MacOS or Linux, QGIS does not have its own python environment so PR can be installed through pip directly from the terminal by using the command above.

For Windows, QGIS has its own python environment. To install PR to work with QGIS, it needs to be installed via the OSGeo4W shell. Two methods depending on your version of QGIS, for newer versions,

Option 1. Open the OSGeo4W Shell (may need admin permission) Install via pip $ pip install pyromb If that fails, try:

Option 2. Open the OSGeo4W Shell (may need admin permission) Enter py3_env Install via pip $ python -m pip install pyromb

ChamathAkalankancbc commented 11 months ago

Working very well!!

Thank you very much sir