ImportError: The ‘read_file‘ function requires the ‘pyogrio‘ or ‘fiona‘ package
报错
ImportError: The 'read_file' function requires the 'pyogrio' or 'fiona' package, but neither is installed or imports correctly.
Importing pyogrio resulted in: GDAL DLL could not be found. It must be on the system PATH.
Importing fiona resulted in: No module named 'fiona'
[PYI-27088:ERROR] Failed to execute script '__init__' due to unhandled exception!
解决方法
pip install fiona
调试没问题,用pyinstaller打包运行就报错
下载这个库进去就行,虽然项目中都没有导入这个库