python使用py2exe打包PyQt程序要点,py2exepyqt,使用png格式作为文件图
python使用py2exe打包PyQt程序要点,py2exepyqt,使用png格式作为文件图
使用png格式作为文件图标可能会造成打包程序执行的python进程崩溃,最近在打包一个程序的时候在2.6、2.7的32及64位版本下均遇到了此问题打包2.6及以上版本程序时需要将msvcp90.dll打包进去。否则到了其他的机器上可能出现缺少动态链接库的问题。同时还要包含Microsoft.VC90.CRT.manifest这个文件,否则也会缺少dll程序本身的manifest文件要包含以下的内容<dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC90.CRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"> </assemblyIdentity> </dependentAssembly> </dependency> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency>
否则也会出现缺少动态链接库。
相关内容
- python使用HTMLParser解析html,pythonhtmlparser,一个Python HTM
- Python list使用示例,pythonlist示例,#!/usr/bin/p
- python if 语句,pythonif,#!/usr/bin/p
- python while语句,pythonwhile,python while
- Python使用cx_Oracle将oracle数据表中的数据导出成csv,cx_
- python正则re模块学习笔记,pythonre学习笔记,python正则r
- Python 初学教程 for语句,python初学for语句,python for 语
- Python 处理mp3文件中的图片和歌词信息,,一些MP3播放器
- Python使用PyMedia播放mp3,wave等文件,pythonpymedia,Pymedia 是
- Python合并文本文件代码,,# coding gbk
评论关闭