记录备忘.
原因:
1 | Traceback (most recent call last): |
解决办法:
1. http://stackoverflow.com/questions/20930173/how-to-include-components-of-psutil-in-py2exe-that-py2exe-cant-find
dll_excludes
至少添加这几项: "IPHLPAPI.DLL", "NSI.dll", "WINNSI.DLL", "WTSAPI32.dll"
2. http://sourceforge.net/p/py2exe/bugs/130/
options
里的 bundle_files
改成 3
, 不过打包出来的文件会有很多个.
版权声明: 转载请注明出处.