#1
  1. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407

    conversion to exe error


    Ok i tried converting a .py script in to .exe just to see how it was and how it works.. but.. hehe just as i expected error's arg
    can anyone tell me what this error means


    Code:
    **********
    warning: py2exe: * The following modules were not found:
    warning: py2exe: *   Carbon.Folder
    warning: py2exe: *   Carbon.Folders
    warning: py2exe: *   ctypes
    warning: py2exe: *   fcntl
    warning: py2exe: *   hexdump
    warning: py2exe: *   pythoncom
    warning: py2exe: *   pywintypes
    warning: py2exe: *   win32api
    warning: py2exe: *   win32com.client.gencache
    warning: py2exe: *   win32con
    warning: py2exe: **********************************************

    after that i realized that i was running it wrong.. then i get this error

    Code:
    warning: py2exe: could not parse version number ''
    No VersionInfo will be created
    and how do i solve them.. thanx
    Last edited by xlordt; November 9th, 2003 at 02:03 AM.
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Ok thats a very strange error (another one i've never head of).. i'm not even going to touch the first one since you concluded that you where running it wrong..

    What exactly are you doing i.e. what do your setup.py and command line look like.. oh, what version of Python and py2exe are you running on what OS?

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    here are my specs

    o/s: winblows98
    Python version 2.3.2
    Py2exe-0.4.2.win32.py2.3


    here is my source

    Code:
    #!C:\Python23\python.exe
    
    # setup.py
    from distutils.core import setup
    import py2exe
    
    setup(name="myscript",
          scripts=["spy/1.py"],
    )
    and here is the command line

    C:\Python23>python spy/1.py py2exe
  6. #4
  7. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    I think i see the problem, you ned to point your command at your setup.py, try this one..

    C:\Python23>python path\to\setup.py py2exe

    Hope that works, other than that it all looks fine to me

    Mark.
    programming language development: www.netytan.com Hula

  8. #5
  9. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    Ok thanx i will try once i get back on windows.. right now im on my loving slack partion thanx man

IMN logo majestic logo threadwatch logo seochat tools logo