Create working executable on M1 Mac for an older Mac? #9043
Replies: 3 comments 1 reply
-
If you want the program to run on x86_64 machines, you need to create either x86_64 build, or a universal2 one. You have made an arm64 build, which cannot run on a x86_64 machine for obvious reasons. If you want to create x86_64 build on M1 Mac, you need to install either x86_64 python or universal2 python, and run it in x86_64 mode. Then use that to create x86_64 virtual environment, install dependencies and PyInstaller in it, and it will create an x86_64 build by default. If you can ensure that both your python and all non-pure-python dependencies are universal2, you can create a universal2 build instead. See https://pyinstaller.org/en/stable/feature-notes.html#macos-multi-arch-support |
Beta Was this translation helpful? Give feedback.
-
Thx for the fast response -
Correct? |
Beta Was this translation helpful? Give feedback.
-
Thanks - with the following command i was able to create a working exectuable on my M1-Mac for an older Intel-Mac:
and with this command i am able to create an exectuable on my M1-Mac whichs runs on the same machine
|
Beta Was this translation helpful? Give feedback.
-
Hello - i create an executable on my Mac computer -
when i want to run the executable on my older Mac
i get this error message:
How can i create an executable on my M1 Mac which can be also run on older Macs?
Beta Was this translation helpful? Give feedback.
All reactions