py2exe -> error in PYTHON23.DLL

Grant Edwards grante at
Mon Jul 5 17:12:56 CEST 2004

On 2004-07-03, RPM1 <rpm1deleteme at> wrote:
> "Grant Edwards" <grante at> wrote in message
> news:slrncebbqt.35h.grante at
>> Using py2exe under WinMe, I bundled up a python program
>> containing a single line:
>> print "hello world"
>> When I zip up the dist directory and move it to another WinMe
>> machine, trying to run hello.exe either reboots or pops up a
>> dialog box that says
>>   Hello has caused an error in PYTHON23.DLL
>>   Hello will now close
>>   If you continue to experience problems,
>>   try restarting your computer.
>> Any ideas on what the problem might be?
> I had a problem with py2exe on WinMe & Win98 because
> it needed a unicode extension called unicows.  That fixed it.

AFAICT, it's py2exe that needs unicows.dll, not the resulting
application package.  IOW, you need unicows.dll on the
development machine but not on the target machines.

Grant Edwards                   grante             Yow!  Darling, my ELBOW
                                  at               is FLYING over FRANKFURT,

More information about the Python-list mailing list