diogomatoschaves / osm-population-predictor

Population prediction model based on extracted OSM features
13 stars 5 forks source link

model.model_evaluation #18

Open ghanigithub opened 1 year ago

ghanigithub commented 1 year ago

hi, i got error in line 22

from model.model_evaluation import plot_cities_results, plot_feature_results

the result is error, how to fix it? thank you in advance...


ImportError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_52972\1772123821.py in ----> 1 from model.model_evaluation import plot_cities_results, plot_feature_results

~\Pop_Pred\model\model_evaluation.py in 11 12 from model.tests_data import tests_actual ---> 13 from preprocessing.process_data import import_polygons_data, calculate_area 14 15

~.conda\envs\osm-population-predictor\preprocessing\process_data.py in 5 import pandas as pd 6 import geopandas as gpd ----> 7 from fiona.errors import DriverError 8 from turf import polygon, feature_collection, area 9 from turf.utils.exceptions import InvalidInput

~.conda\envs\osm-population-predictor\lib\site-packages\fiona__init__.py in 81 os.environ["PATH"] = os.environ["PATH"] + ";" + libdir 82 ---> 83 from fiona.collection import BytesCollection, Collection 84 from fiona.drvsupport import supported_drivers 85 from fiona.env import ensure_env_with_credentials, Env

~.conda\envs\osm-population-predictor\lib\site-packages\fiona\collection.py in 7 8 from fiona import compat, vfs ----> 9 from fiona.ogrext import Iterator, ItemsIterator, KeysIterator 10 from fiona.ogrext import Session, WritingSession 11 from fiona.ogrext import buffer_to_virtual_file, remove_virtual_file, GEOMETRY_TYPES

ImportError: DLL load failed: The specified procedure could not be found.