Well judging from these lines of the traceback:
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/PyInstaller/depend/bindepend.py",
line 625, in _getImports_macholib
m = MachO(pth)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/macholib/MachO.py",
line 118, in __init__
self.load(fp)
It looks like PyInstaller has special support for MachO. But it's being
overeager in trying to load the dll without noticing that it's
condintionally used.
Ideally you would tell PyInstaller to exclude those dlls but the options
for doing that is in the EXE call which is too late because your build is
failing on the Analysis.
https://bitbucket.org/qsoft/accessible_output2/src/default/accessible_output2/__init__.py
On looking at the source code for accessable_output2's __init__.py.
They have modularised it nicely so you can run the MacOS without touching
the MachO stuff. So you can blacklist all the non MacOS submodules. In the
Analysis in your spec put:
excludes=["accessible_output2.outputs.voiceover",
"accessible_output2.outputs.jaws",
"accessible_output2.outputs.sapi5",
"accessible_output2.outputs.window_eyes",
"accessible_output2.outputs.system_access",
"accessible_output2.outputs.dolphin",
"accessible_output2.outputs.pc_talker",]
Alternatively if you uninstall macholib temporarily that should also do it.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/54ee3404-db3a-42ce-a3f8-05bd9dd05224%40googlegroups.com.