Making a GUI with tablib >= 1.0.0
When I integrate csb43 into pyinstaller there seems to be a problem with tablib >= 1.0.0
It only works if I use tablib==0.14.0
I get the error Error module 'tablib.formats._xls'.
Comments (6)
-
repo owner -
repo owner -
repo owner Without further information I can only guess that it is a
tablib
issue (not really, a freezing issue). That package has an architecture based on plugins, so you will have to declare the required modules in the pyinstaller spec for all the formats you want your program to support. See sections “binaries” and “hiddenimports” in PyInstaller’s docs.
-
reporter Thank you very much, I managed to solve the problem with the hidden imports.
The strange thing is that it still shows if I enable the console this error:\AppData_MEI31682\csb43\formats.py:113: FormatWarning: Package 'tablib' not found. Formats provided by 'tablib' will not be available.
Anyway, that's not a problem for me anymore.
-
repo owner The module
csb43.formats
does soft imports too fortablib
andyaml
. You could try to add both packages to hiddenimports, so that they are found in the frozen distribution. -
repo owner - changed status to resolved
- Log in to comment
Could you please provide the full stack trace?