I tried to package a Twisted program with py2exe, but once I run the exe file I built, I got a \"No module named resource\" error.
And I found the py2exe said:
Had same issue with email module. I got it working by explicitly including modules in setup.py:
OLD setup.py:
setup(console = ['main.py'])
New setup.py:
setup(console = ['main.py'], options={"py2exe":{"includes":["email.mime.multipart","email.mime.text"]}})