ich versuche gerade mit cx_Freeze eine ausführbare Datei unter MacOs zu machen.
Leider gelingt mir das nicht, dass die Datei startet. Ich bekomme als Fehlermeldung:
Code: Alles auswählen
Failed to load shared library 'libgio-2.0.0.dylib' referenced by the typelib: dlopen(libgio-2.0.0.dylib, 0x0009): tried: 'libgio-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibgio-2.0.0.dylib' (no such file), '/Users/.../Nextcloud/Programmierung/Privat/Python/Quittungsrechner/build/exe.macosx-15.0-arm64-3.13/lib/libgio-2.0.0.dylib' (no such file), '/usr/lib/libgio-2.0.0.dylib' (no such file, not in dyld cache), 'libgio-2.0.0.dylib' (no such file)
Traceback (most recent call last):
...
Code: Alles auswählen
import cx_Freeze
executables = [cx_Freeze.Executable("Main.py")]
cx_Freeze.setup(
name="Quittungsrechner",
options={"build_exe": {"packages":["pip", "attrs", "wheel", "filelock", "numpy", "pandas", "matplotlib", "pytz", "idna",
"setuptools", "packaging",
"modulegraph", "py2app", "macholib", "gobject", "altgraph", "six",
"contourpy",
"pyparsing", "cycler",
"kiwisolver", "autocommand",
"zipp"]}},
executables = executables
)