I want to run it on different PC which doesn't have python. Python program to run on PC I have written a python program which gets an input from user then runs a code and returns values, it is being saved as. (I haven't tried in linux though) but you can find a easy explanation over here I really hope that someone in future will write a more concise and simple convert tool for Python 3.Ĭx_freeze should work cross-platform as stated in the site :Ĭx_Freeze is cross platform and should work on any platform that Python itself works on Python 2.6-3.2 uses the 2008 version, and because of how this is installed, cx_Freeze doesn’t automatically copy it for your application."Īnyway, using this tool (cx_freeze) is so complicated and inefficient that it is probably more easy to write a whole program than to convert it properly to windows executable. I guess the only option is to try doing it with wine?ĭid you saw this? Maybe this is making you trouble: "Python on Windows requires the Microsoft Visual C++ Redistributable Package. Our experience is that you need to copy some files in manually after cx_Freeze has run to make the executable work. So if you want to freeze your program for Windows, freeze it on Windows if you want to run it on Macs, freeze it on a Mac.Īt a pinch, you can try to make a Windows executable using Wine. I've been trying to get cx_freeze properly working on windows in every way possible but with no luck.I was trying to do what you are doing now using Ubuntu but I found this, sadly:Ĭx_Freeze works on Windows, Mac and Linux, but on each platform it only makes an executable that runs on that platform.
Or any alternative way instead of cx_freeze to make one bin file to execute in other platform independent?
Is there any way to use cx_freeze for making exe or bin package ? I tested cx_freeze in linux but that make package for linux and in windows is unknown.
py to exe in ubuntu - python how to use cx_freeze in linux to create a one package to be used in windows like.