Thread: py2exex help

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    2
    Rep Power
    0

    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
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    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.
    programming language development: www.netytan.com Hula

  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    2
    Rep Power
    0
    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
  6. #4
  7. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    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

IMN logo majestic logo threadwatch logo seochat tools logo