[Tutor] Compile py to exe in ubuntu

Harya Dananjaya dananzoff at gmail.com
Thu Feb 11 04:53:13 CET 2010


On 11/02/10 04:49, vince spicer wrote:
>
> 1. Ubuntu and linux in general don't use exe per say
> 2. Python can be compiled but not usually in the way you are thinking
> 3. you might check out http://pypi.python.org/pypi/bbfreeze/
> Vince 

1.Yupe, I know ubuntu don't use exe file. I have windows too, but 
windows is slower than ubuntu, so that's waste my time.

2. what do you mean about 'not usually in the way you thingking'?

3. OK, I have downloaded bbfreeze on my windows, but I can't install it 
on windows, I use 'easy_install bbfreeze' command, but generate some error

Then I use c_freeze, but when I compile with cx_freeze, it generate error :
---------------------------------------Begin 
error--------------------------------------------------------------------------------------------------------------

Missing modules:
? Image imported from matplotlib.image
? PyQt4.QtGui imported from matplotlib.pyplot
? _scproxy imported from urllib
? _transforms imported from matplotlib.dates
? _wxagg imported from matplotlib.backends.backend_wxagg
? config imported from matplotlib
? gobject imported from matplotlib.pyplot
? mpl_toolkits.natgrid imported from matplotlib.mlab
? nose imported from numpy.testing.nosetester
? numpy.core.integer imported from numpy.fft.helper
? numpy.core.signbit imported from numpy.testing.utils
? pkg_resources imported from pytz
? pyemf imported from matplotlib.backends.backend_emf
? pytz.zoneinfo imported from matplotlib.dates
? qt imported from matplotlib.pyplot
? scipy imported from numpy.testing.nosetester
? win32pdh imported from numpy.testing.utils
------------------------------END of 
Error-------------------------------------------------------------------------------------------------------------------
Harya Dananjaya


More information about the Tutor mailing list