February 5th, 2004, 05:41 PM
-
py2exex help
Py2exe claims to work with python 2.3, but I can't get it to work unless I use 2.3.3
Quote
py2exe 0.5.0 released.
Python 2.3 is required, because the new zipimport feature is used
So I installed 2.3.3 and it is OK now.
is this correct or did I stuff up somewhere and it is compatible with 2.3
Thanks
Mick
February 5th, 2004, 05:44 PM
-
Well i wouldnt really call this stuffing up, after all you've just updated your Python version which is always a good thing!
But there is nothing that should stop py2exe working with python 2.3 so sorry to say it but it looks like you did something wrong 
Have fun,
Mark.
February 5th, 2004, 05:54 PM
-
thats what is funny about it. I did hte same thing in both and it worked only for 2.3.3
With 2.3 i kept getting a something needs two argument and one available.
forgot the exact words and I just closed down the command line
Thanks anyway, as long as it is working now
Mick
February 6th, 2004, 05:32 AM
-
I've been playing with py2exe 0.5 myself so was curious. Checking the release notes of Python 2.3.1 - it states there were serious bugs fixed in the zipimport functionality.
Py2exe is totally reliant on the zipimport to find modules. It puts all your modules and standard modules in library.zip.
Also worth noting is that PYTHONPATH is set to only look at the library.zip file. So if you want to add your own modules later you will need to change PYTHONPATH to include the location of your modules.
Cheers,
Grim