Python Forum

Full Version: Creating a python exe (win) to run on Mac
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
A: No
B: Use a Mac
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.
OK, thanks.