Python Forum
Creating a python exe (win) to run on Mac - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Creating a python exe (win) to run on Mac (/thread-35674.html)



Creating a python exe (win) to run on Mac - plumberpy - Nov-30-2021

I created an exe using pyinstaller but my friend cannot run it on his mac.

A. Any tricks I can use to run that exe on a mac?

B. How to compile an exe in pyinstaller to run on a mac?

Many thanks.


RE: Creating a python exe (win) to run on Mac - Axel_Erfurt - Nov-30-2021

A: No
B: Use a Mac


RE: Creating a python exe (win) to run on Mac - snippsat - Nov-30-2021

PyInstaller Manual
Quote:PyInstaller is tested against Windows, Mac OS X, and GNU/Linux.
However, it is not a cross-compiler: to make a Windows app you run PyInstaller in Windows;
to make a GNU/Linux app you run it in GNU/Linux, etc.
One the easiest way if on Windows is to use VirtualBox,follow a tutorial.
Then use Pyinstaller there to make executable for Mac.


RE: Creating a python exe (win) to run on Mac - plumberpy - Dec-01-2021

OK, thanks.