py2exe error: [Errno 2] No such file or directory: 'MSVCP90.dll'


使用 python setup.py py2exe 打包时出现 py2exe error: [Errno 2] No such file or directory: 'MSVCP90.dll'

 解决方法

#setup.py
from distutils.core import setup
import py2exe
setup(windows=["wxDemo.py"],options = { "py2exe":{"dll_excludes":["MSVCP90.dll"]}})
 
posted @ 2016-10-18 16:36  程序员大叔  阅读(917)  评论(0编辑  收藏  举报