-
Hello, But I always get an error message like this: CPLE_OpenFailedError Traceback (most recent call last) File fiona_err.pyx:291, in fiona._err.exc_wrap_pointer() CPLE_OpenFailedError: rpg_15.gpkg: No such file or directory During handling of the above exception, another exception occurred: DriverError Traceback (most recent call last) File ~\Anaconda3\envs\geo_env\lib\site-packages\geopandas\io\file.py:201, in _read_file(filename, bbox, mask, rows, **kwargs) File ~\Anaconda3\envs\geo_env\lib\site-packages\fiona\env.py:408, in ensure_env_with_credentials..wrapper(*args, **kwargs) File ~\Anaconda3\envs\geo_env\lib\site-packages\fiona_init_.py:264, in open(fp, mode, driver, schema, crs, encoding, layer, vfs, enabled_drivers, crs_wkt, **kwargs) File ~\Anaconda3\envs\geo_env\lib\site-packages\fiona\collection.py:162, in Collection.init(self, path, mode, driver, schema, crs, encoding, layer, vsi, archive, enabled_drivers, crs_wkt, ignore_fields, ignore_geometry, **kwargs) File fiona\ogrext.pyx:540, in fiona.ogrext.Session.start() File fiona_shim.pyx:90, in fiona._shim.gdal_open_vector() DriverError: rpg_15.gpkg: No such file or directory It seems to me that the fiona package is installed. Can you help me please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It looks as if the file you want to open does not exist. You can check if a file exists with |
Beta Was this translation helpful? Give feedback.
@Mhdx20
It looks as if the file you want to open does not exist. You can check if a file exists with
os.path.exists(path_rpg15)
.