hello there everyone , i am trying to compile a python script into exe , i tried both py2exe and pyinstaller and both cannot produce an exe without errors...

when trying to compile simple scripts , the resulted exe works fine.....

both programs after compilation displayed error messages requesting modules i already have and can import them successfully.it once says name MySQLdb is not defined and once SOAPpy is not defined and once _core_ .....

i do not understand , i have all those installed ....

i do not use MySQLdb directly but i think it is imported by other built-in modules.


my script is a wxpython script uses modules like SOAPpy , os , threading , etc......


when running the script in python interpreter..everything works fine....

any help is appreciated. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.