See my previous email about options causing py2exe to bomb out.

 

The crash occurs *before* the message about ‘searching for required modules’ is printed. In fact before anything is printed to screen. When run from the command line my script (a glorified setup.py) just exits. When run from IDLE the following message is printed in red (i.e. to sys.stderr)

 

WARNING: Stream <cin> looks suspicious: it lacks a 'fileno' attribute

WARNING: Stream <cin> looks suspicious: it lacks a 'mode' attribute

WARNING: Stream <cout> looks suspicious: it lacks a 'fileno' attribute

WARNING: Stream <cout> looks suspicious: it lacks a 'mode' attribute

WARNING: Stream <cerr> looks suspicious: it lacks a 'fileno' attribute

WARNING: Stream <cerr> looks suspicious: it lacks a 'mode' attribute

 

As I said, this is for a script that does 3-400 imports – so something may be getting overloaded.

(same error (<cout> and <cerr> anyway) when attempting to enter interactive console mode with a program built as a windows program)

 

I get the same error for Python 2.4 and Python 2.3, py2exe 0.5.4.

 

Regards,

 

Fuzzy

http://www.voidspace.org.uk/python/index.shtml