在win7下安装Python2.7.13的时候碰到一个报错信息,这边就及时记录下来 以便以后查看和帮助其他人避免继续踩坑
由于没有及时保存现场,这个图是网络上截取的
An error occurred during the installation of assembly 'Microsoft.VC90.CRT,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",
processorArchitecture="amd64",type="win32"'.
引用微软的Troubleshooting:
Hi,
**Method 1: **Start the computer in clean boot and then try to install the software to check if any third party program is causing the issue. To configure our computer to clean boot refer the following link.
http://support.microsoft.com/kb/929135
Note: After you have finished troubleshooting, follow step 7 in the article to boot to normal startup.
Method 2: If the issue persists then, update the Visual C++ Redistributable Package and check if theat helps. Download Visual C++ Redistributable Package from the following link.
http://www.microsoft.com/download/en/details.aspx?id=14632
本人是通过Method 1 中的 http://support.microsoft.com/kb/929135
如何在 Windows 中执行干净启动
- 通过登录win7的Administrator用户
- 单击“开始”,在“开始搜索”框中键入 msconfig.exe,然后按 Enter 键启动系统配置实用程序。
注意如果系统提示您输入管理员密码或进行确认,请键入密码或进行确认。 - 在“常规”选项卡上,单击“有选择的启动”,然后单击以清除“加载启动项”复选框。(“使用原有 Boot.ini”复选框不可用。)
- 在“服务”选项卡上,单击以选中“隐藏所有 Microsoft 服务”复选框,然后单击“全部禁用”。
- 重启电脑
- 重新执行Python2.7.13的软件包安装程序
- 正确完全安装