我尝试使用py2exe打包一个Twisted程序,但一旦我运行我构建的exe文件,就会出现“找不到resource模块”的错误。
我发现py2exe说:
似乎缺少以下模块 ['FCNTL', 'OpenSSL', 'email.Generator', 'email.Iterators', 'email.Utils', 'pkg_resources', 'pywintypes', 'resource', 'win32api', 'win32con', 'win32event', 'win32file', 'win32pipe', 'win32process', 'win32security']
那么我该如何解决这个问题呢?
谢谢。