Hi, everyone
I recently moved to a new computer (MacStudio 2023, running MacOS 15.0.1)
and PyInstaller now gives me a strange error when I try to bundle an app.
I've been happily using PyInstaller with it for a number of years without
any problems.
I use the following command:
python3 -m PyInstaller eFieldBook.spec --clean --noconfirm
and I get this output
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/__main__.py",
line 308, in <module>
run()
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/__main__.py",
line 215, in run
run_build(pyi_config, spec_file, **vars(args))
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/__main__.py",
line 70, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/building/build_main.py",
line 1227, in main
build(specfile, distpath, workpath, clean_build)
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/building/build_main.py",
line 1167, in build
exec(code, spec_namespace)
File "eFieldBook.spec", line 22, in <module>
exe = EXE(pyz,
^^^^^^^^
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/building/api.py",
line 639, in __init__
self.pkg = PKG(
^^^^
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/building/api.py",
line 254, in __init__
self.__postinit__()
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/building/datastruct.py",
line 184, in __postinit__
self.assemble()
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/building/api.py",
line 314, in assemble
src_name = process_collected_binary(
^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInstaller/building/utils.py",
line 334, in process_collected_binary
raise SystemError(f"Failed to process binary {cached_name!r}!") from e
SystemError: Failed to process binary '/Users/David/Library/Application
Support/pyinstaller/bincache00py31264bit/arm64/adhoc/no-entitlements/lib-dynload/_struct.cpython-312-darwin.so'!
I really have no idea how to interpret this, any suggestions from wiser
heads would be much appreciated. Happy to supply any additional info that
would help.
David
--
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/44c34e88-ab89-46a7-9474-131c85382c59n%40googlegroups.com.