简体   繁体   中英

Will an .exe file created by PYINSTALLER on WINDOWS work on any OTHER OS?

I have made a Cryptography App, basically with python and I have posted it in github, now I have decided to create a .exe file with pyinstaller for that, because the Cryptography App needs tkinter and python to work. I have created the .exe file with the pyinstaller in windows 32-bit. Now I know that it will work on Windows 64-bit also, but WILL IT WORK ON ANY OTHER OS LIKE LINUX OR MAC ?

This is a good question with a very simple answer. .exe is a windows file format. You will not be able to run the .exe on a mac simply because this type of file is not supported in MacOS

A solution, if you want to run this on Mac or Linux, would be to try running it under a Windows compatibility layer such as Wine

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM