When my Python application frozen with PyInstaller attempts to import Geopandas, it stops working.
I received this same error and solved it differently to aorr above.
The error was caused because the geopandas datasets included in the package aren't found by pyinstaller because they are .shp files.
I don't use the geopandas datasets in my project/s so instead of manually including them in my .spec file I just commented out the import geopandas.datasets
statement from: File "site-packages\geopandas\__init__.py", line 9, in
.
This compiled properly and gave me the expected outputs for my program.