Failed running pyinstaller for universal2 arch. Some system .so dependencies are not compatible #7740
iradization
started this conversation in
Features & Development
Replies: 1 comment
-
You cannot use Homebrew python to make But even with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've set target_arch="universal2" to my pyinstaller command to build a macho fat file for running on both Intel and arm64 macOS available architectures.
However, some of the dependancies are python system .so libraries built for current arch only (in my case it's arm64)
This leads to the following error when trying to build the executable:
So apparently _struct.cpython-310-darwin.so is built for arm64 only... Is there any way to build a FAT version of my project ?
where can I get builtin python framework that compiled as FAT ?
Is there a way to auto-download the right library compiled for the desired arch, upon demand ?
thanks !
Beta Was this translation helpful? Give feedback.
All reactions