py2exe prob

Discussion in 'Python' started by ryan, Jul 21, 2003.

  1. ryan

    ryan Guest

    my program uses unicode functions and so i compile like:
    "python setup.py py2exe --packages encodings"

    which seems to create unicodedata.pyd and zlib.pyd, the problem is when i
    run my exe it acts like it didnt do that, it still gives me the error:

    ImportError: No module named warnings
    warning: assignment shadows builtin
    Traceback (most recent call last):
    File "<string>", line 110, in ?
    File "<string>", line 82, in main
    File "handle_keyboard.pyc", line 113, in handle_keyboard
    File "open_url.pyc", line 126, in open_url
    File "input_box.pyc", line 53, in ask
    File "input_box.pyc", line 21, in get_key
    LookupError: no codec search functions registered: can't find encoding

    also at the top of the error it said:
    ImportError: No module named warnings
    warning: assignment shadows builtin

    anyone know how to fix this or at least what it means?
     
    ryan, Jul 21, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. drishtik

    dataset update prob

    drishtik, Sep 9, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    720
  2. paraag

    vhdl 2 blif prob

    paraag, Feb 18, 2004, in forum: VHDL
    Replies:
    0
    Views:
    1,292
    paraag
    Feb 18, 2004
  3. Replies:
    8
    Views:
    5,355
    Charles Bailey
    Feb 12, 2005
  4. Nisheeth

    multiplication prob

    Nisheeth, Mar 31, 2005, in forum: VHDL
    Replies:
    1
    Views:
    733
    Jonathan Bromley
    Mar 31, 2005
  5. Hugo Bohorquez

    NEWBIE has a prob

    Hugo Bohorquez, Aug 7, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    383
    Steve C. Orr, MCSD
    Aug 7, 2003
  6. F. GEIGER
    Replies:
    0
    Views:
    1,171
    F. GEIGER
    Aug 16, 2004
  7. python
    Replies:
    3
    Views:
    2,381
    Simon Brunning
    May 22, 2006
  8. Chris Spencer

    Re: [Py2exe-users] py2exe 0.6.9 released

    Chris Spencer, Nov 17, 2008, in forum: Python
    Replies:
    3
    Views:
    767
    Pascal
    Dec 8, 2008
Loading...