I have a Windows computer and I want to make a downloadable executable for a python file I made. I ran PyInstaller and I got a.exe, because I'm using Windows. So that's good.
How do I make one that is compatible with Mac, with only my Windows computer? I don't have a Mac and I don't know what file type they use for executables either.
Not sure if this is possible, since it's more complex than you think.
But anyway, take a look on:
If this is not working, try to install some virtual environment on your PC from either:
Another way is to search for an online machine, eg AWS EC2 with MacOS operating system .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.