0

I have made an application using Python and recently i found that i can use py2exe to make executables for windows.

The problem is that a library i am using (xmpppy) produces this error

DeprecationWarning: the md5 module is deprecated; use hashlib instead

and when i try to run the executable a dialog appears saying this

See the logfile 'C:\Python26\P2E\MyApp\dist\MyApp.exe.log' for details

any ideas how to fix that?

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
tanker
  • 1
  • 1

2 Answers2

0

You can try including the following lines down import sys

sys.stdout = open(“my_stdout.log”, “w”)
sys.stderr = open(“my_stderr.log”, “w”)

For more information you can read this

-2

when a python script .py has any error it shows in console but when you run python .exe file it genrates .exe.log file when error accured.so go to your folder and see that there is a .exe.log file is there showing errors.

alok
  • 1