Hi bwoodsend, Thanks! I updated the .spec file and ran PyInstaller to create a universal2 app. But I encountered the following error.
`PyInstaller.utils.osx.IncompatibleBinaryArchError: path_to_my_app/.venv/lib/python3.12/site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so is not a fat binary! For details about this error message, see: https://pyinstaller.org/en/stable/feature-notes.html#macos-multi-arch-support` The following is what I understand now. Please correct me if something is wrong. To create a fat binary, I can use `delocate-merge` to to merge two single-arch wheels for a package (here the numpy), which will be the fat binary I need. Am I on the right path? Once I create this fat binary, how can I import it into my current project? I am using Poetry to manage dependencies now. In other words, how can I integrate the generated fat binary with Poetry? Please let me know. Thanks! Best, Han On Saturday, July 19, 2025 at 5:45:37 PM UTC-4 bwoodsend wrote: > The spec file equivalent of --target-arch is a target_arch="universal2" > parameter to the EXE() block. See docs > <https://pyinstaller.org/en/stable/feature-notes.html#macos-multi-arch-support> > . > > -- 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 visit https://groups.google.com/d/msgid/pyinstaller/4dfff574-9beb-4e55-8fdb-ac5865f14509n%40googlegroups.com.
