<!-- Then save the change, reload the plug-in and try again. -->
## QGIS crashes at the start of encoding
This is probably an issue with `rtree` during the creation of the dataset that will be used by the plugin.
Indeed, depending on the installation, `rtree` and QGIS may have conflicting `libspatialindex`. Currently, there is several solutions:
### 1. Uninstall `rtree` installed via pip and reinstall via package manager
in the QGIS python console:
(following code has not been tested, based on this [SE answer](https://gis.stackexchange.com/questions/418274/installing-python-module-using-pip-via-python-console-in-qgis-3-22))
### 2. Uninstall `rtree` installed via pip and reinstall `rtree` at an older version (<1.0.0)
in the QGIS python console:
(following code has not been tested, based on this [SE answer](https://gis.stackexchange.com/questions/418274/installing-python-module-using-pip-via-python-console-in-qgis-3-22))
This way, rtree and qgis will automatically share the same libspatialindex.
If you have any idea on how to solve this issue properly, do participate in the [corresponding issue](https://github.com/umr-amap/iamap/issues/13).
## Similarity or Random Forest causes QGIS to crash
This crash is due to a bug during `geopandas` reading of a shapefile, only when it has allready read a shapefile. It is probably linked to `fiona` as well. If you have any idea on how to solve this, please do participate in the [corresponding issue](https://github.com/umr-amap/iamap/issues/28).
In the meanwhile, if QGIS crashes and your file were not saved, you can still find them in the temp files like `/tmp/iamap_features` for instance.
Meanwhile, if QGIS crashes and your file were not saved, you can still find them in the temp files like `/tmp/iamap_features` for instance.