I would like to bundle an application into an executable using PyInstaller. I am having issues because of the geopandas
library. Currently my script throwaway.py
contains only the following import:
import geopandas
However running pyinstaller throwaway.py
does not work. It appears to have problems with PyQt5
which only matplotlib
imports.
The log for pyinstaller
is too long to include here however the following shows the last exception encountered:
Exception:
Cannot find existing PyQt5 plugin directories
Paths checked: c:/qt/qt_1489878162099/_b_env/Library/plugins
I am not sure how to approach this, but there are a couple of conceptual options:
- Find a way to exclude the geopandas import of matplotlib. I am not using matplotlib so I don't really need it to be packaged in the first place
- Figure out why this problem is occurring and prevent/fix it
What can I do next?