一、如果您的系统提示"找不到msvcm90.dll"或"msvcm90.dll缺失" 或者"msvcm90.dll错误"等等,请不用担心,请把msvcm90.dll下载到本机。
二、直接拷贝该文件到系统目录里:
1、Windows 95/98/Me系统,将msvcm90.dll复制到C:WindowsSystem目录下。
2、Windows NT/2000系统,将msvcm90.dll复制到C:WINNTSystem32目录下。
3、Windows XP/WIN7系统,将msvcm90.dll复制到C:WindowsSystem32目录下。
三、然后打开"开始-运行-输入regsvr32 msvcm90.dll",回车即可解决错误提示!希望多特软件站为您提供的msvcm90.dll对您有所帮助!
打包python脚本为exe的坎坷经历, by pyinstaller方法
又应验了那句歌词.不经历风雨,怎么见得了彩虹.
安装过程略去不提,仅提示: pip install pyinstaller
打包指令
粗看包里的文档,然后开始打包:
打开console
就用了这个命令: pyinstaller monitor_rt_quotes.py
结果就是比预期麻烦的多的多的:干活,硬盘不停地balabala叫,漫长
这里记录一下控制台显示的提示信息:
官方文档对上述指令的解释为:
|PyInstaller| analyzesmyscript.pyand:
Writesmyscript.specin the same folder as the script.
Creates a folderbuildin the same folder as the script if it does not exist.
Writes some log files and working files in thebuildfolder.
Creates a folderdistin the same folder as the script if it does not exist.
Writes themyscriptexecutable folder in thedistfolder.
In thedistfolder you find the bundled app you distribute to your users.
巨长的提示后,得到了exe文件,有18Mb的大小(太庞大了,肥肥肥!!!),但是结果很悲剧:
D:\DB\fz\build\monitor_rt_quotes>monitor_rt_quotes.exe sz000911
Error loading Python DLL: D:\DB\fz\build\monitor_rt_quotes\python27.dll(error code 126)
估计是没有添加必要的打包选项造成的.继续努力.
不死心!解决问题需要由简到繁,先从hellowworld.py做起.搞定了.
被打包的文件:helloworld.py,人人皆知.
打包的命令:pyinstaller-D helloworld.py
打包的console提示:见随后的引述块
打包发布exe时的纪律(注意事项):
很简单的py脚本. Simple is better than complex.应该遵守Python的规则.
所以在打包为exe时,应该尽量减少没有必要的python包的导入.否则吃的太胖
可以运行的exe文件位于:dist目录下,而不是build目录下的.
运行后的结果:
D:\DB\fz>pyinstaller-D helloworld.py155 INFO: PyInstaller: 3.2.1155 INFO: Python: 2.7.11155 INFO: Platform: Windows-XP-5.1.2600-SP3155 INFO: wrote D:\DB\fz\helloworld.spec155 INFO: UPX is not available.155 INFO: Extending PYTHONPATH with paths['D:\\DB','D:\\DB\\fz']155 INFO: checking Analysis155 INFO: Building Analysis because out00-Analysis.toc is non existent155 INFO: Initializing module dependency graph...155 INFO: Initializing module graph hooks...312 INFO: running Analysis out00-Analysis.toc327 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable required by d:\anaconda2\python.exe327 INFO: Found C:\WINDOWS\WinSxS\Policies\x86_policy.9.0.Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_x-ww_b7353f75\9.0.30729.1.policy327 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww...327 INFO: Found manifest C:\WINDOWS\WinSxS\Manifests\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e.manifest327 INFO: Searching for file msvcr90.dll327 INFO: Found file C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcr90.dll327 INFO: Searching for file msvcp90.dll327 INFO: Found file C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcp90.dll327 INFO: Searching for file msvcm90.dll343 INFO: Found file C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcm90.dll343 INFO: Found C:\WINDOWS\WinSxS\Policies\x86_policy.9.0.Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_x-ww_b7353f75\9.0.30729.1.policy343 INFO: Adding redirect Microsoft.VC90.CRT version(9, 0, 21022, 8)->(9, 0,30729, 1)484 INFO: Caching module hooks...500 INFO: Analyzing D:\DB\fz\helloworld.py500 INFO: Loading module hooks...500 INFO: Loading module hook"hook-encodings.py"...5405 INFO: Loading module hook"hook-httplib.py"...5421 INFO: Looking for ctypes DLLs5437 INFO: Analyzing run-time hooks...5452 INFO: Looking for dynamic libraries6155 INFO: Looking for eggs6155 INFO: Using Python library d:\anaconda2\python27.dll6171 INFO: Found binding redirects:[BindingRedirect(name=u'Microsoft.VC90.CRT', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8), newVersion=(9, 0, 30729, 1), publicKeyToken=u'1fc8b3b9a1e18e3b')]6187 INFO: Warnings written to D:\DB\fz\build\helloworld\warnhelloworld.txt6280 INFO: checking PYZ6296 INFO: Building PYZ because out00-PYZ.toc is non existent6296 INFO: Building PYZ(ZlibArchive) D:\DB\fz\build\helloworld\out00-PYZ.pyz6968 INFO: Building PYZ(ZlibArchive) D:\DB\fz\build\helloworld\out00-PYZ.pyz completed successfully.7062 INFO: checking PKG7062 INFO: Building PKG because out00-PKG.toc is non existent7077 INFO: Building PKG(CArchive) out00-PKG.pkg7125 INFO: Building PKG(CArchive) out00-PKG.pkg completed successfully.7140 INFO: Bootloader d:\anaconda2\lib\site-packages\PyInstaller\bootloader\Windows-32bit\run.exe7140 INFO: checking EXE7155 INFO: Building EXE because out00-EXE.toc is non existent7155 INFO: Building EXE from out00-EXE.toc7171 INFO: Appending archive to EXE D:\DB\fz\build\helloworld\helloworld.exe7171 INFO: Building EXE from out00-EXE.toc completed successfully.7187 INFO: checking COLLECT7202 INFO: Building COLLECT because out00-COLLECT.toc is non existent7202 INFO: Building COLLECT out00-COLLECT.toc7218 INFO: Redirecting Microsoft.VC90.CRT version(9, 0, 21022, 8)->(9, 0, 30729, 1)7375 INFO: Redirecting Microsoft.VC90.CRT version(9, 0, 21022, 8)->(9, 0, 30729, 1)7390 INFO: Updating manifest in C:\Documents and Settings\Administrator\Application Data\pyinstaller\bincache00_py27_32bit\python27.dll7405 INFO: Updating resource type 24 name 2 language 10337468 INFO: Redirecting Microsoft.VC90.CRT version(9, 0, 21022, 8)->(9, 0, 30729, 1)7484 INFO: Updating manifest in C:\Documents and Settings\Administrator\Application Data\pyinstaller\bincache00_py27_32bit\unicodedata.pyd7500 INFO: Updating resource type 24 name 2 language 10337546 INFO: Redirecting Microsoft.VC90.CRT version(9, 0, 21022, 8)->(9, 0, 30729, 1)7562 INFO: Updating manifest in C:\Documents and Settings\Administrator\Application Data\pyinstaller\bincache00_py27_32bit\_hashlib.pyd7562 INFO: Updating resource type 24 name 2 language 10337609 INFO: Redirecting Microsoft.VC90.CRT version(9, 0, 21022, 8)->(9, 0, 30729, 1)7625 INFO: Updating manifest in C:\Documents and Settings\Administrator\Application Data\pyinstaller\bincache00_py27_32bit\_ctypes.pyd7640 INFO: Updating resource type 24 name 2 language 10337687 INFO: Redirecting Microsoft.VC90
msvcm90.dll这是动态链文件,如果该文件丢失或损坏,可以使用匹配系统的文件替换之。
看好了那个dll扩展名的动态链名称,然后使用工具重新下载覆盖之。
方法一:
1、在同系统中找到此文件,黏贴到:C:\Windows\System32文件夹底下
2、打开CMD窗口输入如下命令注册一下所有的动态链:
for%1 in(%windir%\system32\*.dll) do regsvr32.exe/s%1回车执行
for%1 in(%windir%\system32\*.ocx) do regsvr32.exe/s%1回车执行
两条分别运行完成后重启机器。
方法二:使用工具,保持联网,输入动态链名称,自动更新替换。
参考资料《动态链修复工具DllFiles》
DLL文件是Windows系统中的动态链接文件,我们在运行程序时都必须链接到dll文件,如果缺少了则无法正常运行,相信大家都会遇到dll文件缺失的情况,以下这些dll文件修复工具都是小编精心挑选的,可以解决绝大多数dll文件缺失的问题。
多特软件专题为您提供dll反编译工具,dll反编译,dll最强的反编译工具;安卓苹果版软件app一应俱全。多特软件站只提供绿色、无毒、无插件、无木马的纯绿色工具下载
多特软件专题为您提供DLL文件,dll文件编辑器,dll文件怎么打开;安卓苹果版软件app一应俱全。多特软件站只提供绿色、无毒、无插件、无木马的纯绿色工具下载
dll修复进攻专用工具,根据与最齐的DLL数据库查询开展比照,让客户能轻轻松松的寻找被病毒感染毁坏或误删除的DLL文件,一键下载和修复,让您的电脑上在常见故障时自我救赎。修复期内请不要销户,重启,或是关掉电子计算机,修复进行后将会按要求必须重启。修复一些关键的DLL时,必须实际操作服务项目和者实际操作注册表文件,如果有杀毒软件提醒请点一下容许。需要的盆友能够立即点一下下载哦。
dll修复工具下载,DLL修复工具是用以系统修复DLL毁坏的一种工具软件。在我们运作某一个程序流程时,有时会出現提醒说系统软件缺乏哪些dll文件,这类状况就归属于DLL文件不正确或是缺少,应用DLL修复工具能够修补该类难题。操作系统DLL不正确高发将会可能会导致运作速率迟缓、性能降低,DLL修复工具能够对于不一样版本操作系统的DLL文件有关难题开展修补,进而提升电脑上的性能和操作系统的响应速度,终止多余的系统软件报警。网编根据梳理了本网站的DLL修复工具,期待能协助你解决困难。