由于项目需要,在本机安装Python环境进行脚本开发调试,但是在官网下载安装包安装成功后,打开运行IDLE (Python 3.5 64-bit)时弹窗提示:
无法定位程序输入点ucrtbase.terminate于动态链接库api-ms-win-crt-runtime-|1-1-0.dll。
http://www.python.org/downloads/
网上众说纷纭,但是大部分的问题解决方法都是安装一下VC2015Redistributable就可以了。
下附几个地址链接:
http://www.xk8013.com/programlife/193.html
https://www.zhihu.com/question/36384168/answer/67707489
这些情况可能可以解决一部分朋友的问题,但是我按照网上的方法尝试,下载并安装vc_redist.x64.exe。
但是安装vc_redist.x64.exe过程中出现错误,重装几次都是错误,安装卡在windows7-MSU-x64无法继续,或者出现安装提示:
Microsoft visual c++ 2015 RC Redistributable (X64) 安装失败 0x80070652 正在进行另外一个安装操作。
[1E64:1E1C][2016-11-01T10:45:09]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\hubin\Downloads\vc_redist.x64.exe, cmdline: ''
[1E64:1E1C][2016-11-01T10:45:10]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\hubin\AppData\Local\Temp\dd_vcredist_amd64_20161101104510.log'
[1E64:1E1C][2016-11-01T10:45:10]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\hubin\Downloads\vc_redist.x64.exe'
[1E64:1E1C][2016-11-01T10:45:10]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\hubin\Downloads\'
[1E64:1E1C][2016-11-01T10:45:10]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23026'
[1E64:1E1C][2016-11-01T10:45:10]i100: Detect begin, 10 packages
[1E64:1E1C][2016-11-01T10:45:10]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.10046.0'
[1E64:1E1C][2016-11-01T10:45:10]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[1E64:1E1C][2016-11-01T10:45:10]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: Windows81_x86, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: Windows81_x64, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: Windows8_x86, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: Windows8_x64, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[1E64:1E1C][2016-11-01T10:45:10]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[1E64:1E1C][2016-11-01T10:45:10]i199: Detect complete, result: 0x0
[1E64:1E1C][2016-11-01T10:45:11]i200: Plan begin, 10 packages, action: Install
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition '(VersionNT64)' evaluates to true.
[1E64:1E1C][2016-11-01T10:45:11]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\hubin\AppData\Local\Temp\dd_vcredist_amd64_20161101104510_000_vcRuntimeMinimum_x64_rollback.log'
[1E64:1E1C][2016-11-01T10:45:11]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\hubin\AppData\Local\Temp\dd_vcredist_amd64_20161101104510_000_vcRuntimeMinimum_x64.log'
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition '(VersionNT64)' evaluates to true.
[1E64:1E1C][2016-11-01T10:45:11]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\hubin\AppData\Local\Temp\dd_vcredist_amd64_20161101104510_001_vcRuntimeAdditional_x64_rollback.log'
[1E64:1E1C][2016-11-01T10:45:11]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\hubin\AppData\Local\Temp\dd_vcredist_amd64_20161101104510_001_vcRuntimeAdditional_x64.log'
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[1E64:1E1C][2016-11-01T10:45:11]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[1E64:1E1C][2016-11-01T10:45:11]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1E64:1E1C][2016-11-01T10:45:11]i299: Plan complete, result: 0x0
[1E64:1E1C][2016-11-01T10:45:11]i300: Apply begin
[1470:1EBC][2016-11-01T10:45:13]i360: Creating a system restore point.
[1470:1EBC][2016-11-01T10:45:20]i361: Created a system restore point.
[1470:1EBC][2016-11-01T10:45:20]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, options: 0x7, disable resume: No
[1470:1EBC][2016-11-01T10:45:20]i000: Caching bundle from: 'C:\Users\hubin\AppData\Local\Temp\{e46eca4f-393b-40df-9f49-076faf788d83}\.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache\{e46eca4f-393b-40df-9f49-076faf788d83}\VC_redist.x64.exe'
[1470:1EBC][2016-11-01T10:45:20]i320: Registering bundle dependency provider: {e46eca4f-393b-40df-9f49-076faf788d83}, version: 14.0.23026.0
[1470:1EBC][2016-11-01T10:45:20]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: Active, restart initiated: No, disable resume: No
[1470:1F94][2016-11-01T10:45:20]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x64.
[1470:1F94][2016-11-01T10:45:20]i305: Verified acquired payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x64, moving to: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[1470:1F94][2016-11-01T10:45:20]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\.unverified\cab5046A8AB272BF37297BB7928664C9503.
[1470:1F94][2016-11-01T10:45:20]i305: Verified acquired payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\.unverified\cab5046A8AB272BF37297BB7928664C9503, moving to: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\cab1.cab.
[1470:1F94][2016-11-01T10:45:20]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x64.
[1470:1F94][2016-11-01T10:45:20]i305: Verified acquired payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x64, moving to: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[1470:1F94][2016-11-01T10:45:20]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\.unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92.
[1470:1F94][2016-11-01T10:45:20]i305: Verified acquired payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\.unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92, moving to: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\cab1.cab.
[1470:1F94][2016-11-01T10:45:20]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\.unverified\Windows7_MSU_x64.
[1470:1F94][2016-11-01T10:45:20]i305: Verified acquired payload: Windows7_MSU_x64 at path: C:\ProgramData\Package Cache\.unverified\Windows7_MSU_x64, moving to: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu.
[1470:1EBC][2016-11-01T10:45:20]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[1E64:1E1C][2016-11-01T10:45:23]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None
[1470:1EBC][2016-11-01T10:45:23]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[1470:1EBC][2016-11-01T10:45:23]i301: Applying execute package: vcRuntimeAdditional_x64, action: Install, path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[1E64:1E1C][2016-11-01T10:45:26]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None
[1470:1EBC][2016-11-01T10:45:26]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[1470:1EBC][2016-11-01T10:45:26]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
[1470:1EBC][2016-11-01T10:45:26]e000: Error 0x80070652: Failed to execute MSU package.
[1E64:1E1C][2016-11-01T10:45:26]e000: Error 0x80070652: Failed to configure per-machine MSU package.
[1E64:1E1C][2016-11-01T10:45:26]w348: Application requested retry of package: Windows7_MSU_x64, encountered error: 0x80070652. Retrying...
[1470:1EBC][2016-11-01T10:45:29]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
[1470:1EBC][2016-11-01T10:45:29]e000: Error 0x80070652: Failed to execute MSU package.
[1E64:1E1C][2016-11-01T10:45:29]e000: Error 0x80070652: Failed to configure per-machine MSU package.
[1E64:1E1C][2016-11-01T10:45:29]w348: Application requested retry of package: Windows7_MSU_x64, encountered error: 0x80070652. Retrying...
[1470:1EBC][2016-11-01T10:45:32]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
[1470:1EBC][2016-11-01T10:45:32]e000: Error 0x80070652: Failed to execute MSU package.
[1E64:1E1C][2016-11-01T10:45:32]e000: Error 0x80070652: Failed to configure per-machine MSU package.
[1E64:1E1C][2016-11-01T10:45:32]w348: Application requested retry of package: Windows7_MSU_x64, encountered error: 0x80070652. Retrying...
[1470:1EBC][2016-11-01T10:45:35]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
[1470:1EBC][2016-11-01T10:45:35]e000: Error 0x80070652: Failed to execute MSU package.
[1E64:1E1C][2016-11-01T10:45:35]e000: Error 0x80070652: Failed to configure per-machine MSU package.
[1E64:1E1C][2016-11-01T10:45:35]i319: Applied execute package: Windows7_MSU_x64, result: 0x80070652, restart: None
[1E64:1E1C][2016-11-01T10:45:35]e000: Error 0x80070652: Failed to execute MSU package.
[1470:1EBC][2016-11-01T10:45:35]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart: None, disable resume: No
[1470:1EBC][2016-11-01T10:45:35]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart initiated: No, disable resume: No
[1E64:1E1C][2016-11-01T10:45:35]i399: Apply complete, result: 0x80070652, restart: None, ba requested restart: No
以上问题目前为止还没有解决,使用360更新补丁也没有解决问题,至于网上说的单独更新补丁程序、或者替换dll文件的方法都尝试过了,也未能解决问题,记录下来当做日记吧。