Closed redobbin closed 9 months ago
Hi @redobbin
xlrd3
imports implicitly one of the following libs with descending priority: defusedxml
, lxml
, xml
.
So you have to explicitly tell pyinstaller
to include at least one of the above: --hidden-import [lib_name]
Since you didn't use any 3rd library to parse XML, then [lib_name]
is just xml
.
If you care about security and speed, use the other two.
Environment:
macOS 13.6 Python 3.12.0
Package Version
altgraph 0.17.4 bottle 0.12.25 bottle-websocket 0.2.9 easygui 0.98.3 Eel 0.16.0 et-xmlfile 1.1.0 future 0.18.3 gevent 23.9.1 gevent-websocket 0.10.1 greenlet 3.0.0 macholib 1.16.3 packaging 23.2 pip 23.3 pyinstall 0.1.4 pyinstaller 6.1.0 pyinstaller-hooks-contrib 2023.10 pyparsing 3.1.1 setuptools 68.2.2 six 1.16.0 treelib 1.7.0 whichcraft 0.6.1 xlrd3 1.1.0 xlwt 1.3.0