I cannot run any modules

Hi @dcdnu4
Your help has been crucial and encourages me to continue.

I tried again with the inputs from the sample data which I downloaded along with InVESt and got the following error:

2021-08-25 11:30:31,625 utils.prepare_workspace(123) INFO Writing log messages to C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output\InVEST-Sediment-Delivery-Ratio-Model-(SDR)-log-2021-08-25–11_30_31.txt
2021-08-25 11:30:31,637 model._logged_target(1646) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.sdr.sdr 3.9.0:
biophysical_table_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/biophysical_table_Gura.csv
dem_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/DEM_gura.tif
drainage_path
erodibility_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erodibility_gura.tif
erosivity_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/erosivity_gura.tif
ic_0_param 0.5
k_param 2
lulc_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/land_use_gura.tif
n_workers -1
results_suffix Gura_2
sdr_max 0.8
threshold_flow_accumulation 1000
watersheds_path C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/InVEST_3.9.0_x64/sample_data/SDR/watershed_gura.shp
workspace_dir C:/Users/aniba/OneDrive/Área de Trabalho/InVEST/SDR_output

2021-08-25 11:30:31,997 Task.add_task(781) ERROR Something went wrong when adding task align input rasters (0), terminating taskgraph.
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “site-packages\taskgraph\Task.py”, line 747, in add_task
File “site-packages\taskgraph\Task.py”, line 1234, in _call
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 11:30:31,998 model._logged_target(1652) ERROR Exception while executing <function execute at 0x00000229AC610C18>
TypeError: _log_gdal_errors() missing 3 required positional arguments: ‘err_level’, ‘err_no’, and ‘err_msg’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “site-packages\natcap\invest\ui\model.py”, line 1649, in _logged_target
File “site-packages\natcap\invest\sdr\sdr.py”, line 346, in execute
File “site-packages\taskgraph\Task.py”, line 747, in add_task
File “site-packages\taskgraph\Task.py”, line 1234, in _call
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in align_and_resize_raster_stack
File “site-packages\pygeoprocessing\geoprocessing.py”, line 695, in
File “site-packages\pygeoprocessing\geoprocessing.py”, line 1517, in get_vector_info
File “site-packages\osgeo\gdal.py”, line 2335, in GetFileList
SystemError: returned a result with an error set
2021-08-25 11:30:32,000 model._logged_target(1655) INFO Execution finished
2021-08-25 11:30:32,001 utils.prepare_workspace(129) INFO Elapsed time: 0.38s

Thanks