windows下安装python3.6.4完成,运行报错

原贴:http://blog.csdn.net/gangeqian2/article/details/79307416


在安装Python3.6后,发现提示api-ms-win-crt-process-l1-1-0.dll丢失,网上搜索后发现很多人都出现了 api-ms-win-crt**.dll缺失的问题,导致一些软件或游戏无法正常运行。总结如下:

Windows 通用 C 运行库(Universal C Runtime)是通过Windows Update更新安装到系统的,更新的编号为KB2999226(10.0.10240.16390)或KB3118401(10.0.10586.9),组件如下:

  api-ms-win-core-file-l1-2-0.dll

  api-ms-win-core-file-l2-1-0.dll

  api-ms-win-core-localization-l1-2-0.dll

  api-ms-win-core-processthreads-l1-1-1.dll

  api-ms-win-core-synch-l1-2-0.dll

  api-ms-win-core-timezone-l1-1-0.dll

  api-ms-win-core-xstate-l2-1-0.dll

  api-ms-win-crt-conio-l1-1-0.dll

  api-ms-win-crt-convert-l1-1-0.dll

  api-ms-win-crt-environment-l1-1-0.dll

  api-ms-win-crt-filesystem-l1-1-0.dll

  api-ms-win-crt-heap-l1-1-0.dll

  api-ms-win-crt-locale-l1-1-0.dll

  api-ms-win-crt-math-l1-1-0.dll

  api-ms-win-crt-multibyte-l1-1-0.dll

  api-ms-win-crt-private-l1-1-0.dll

  api-ms-win-crt-process-l1-1-0.dll

  api-ms-win-crt-runtime-l1-1-0.dll

  api-ms-win-crt-stdio-l1-1-0.dll

  api-ms-win-crt-string-l1-1-0.dll

  api-ms-win-crt-time-l1-1-0.dll

  api-ms-win-crt-utility-l1-1-0.dll

  api-ms-win-eventing-provider-l1-1-0.dll(KB3118401不含此文件)

  ucrtbase.dll

在C:\window\system\   或者C:\window\SysWOW64\ 里找不到相应的.dll文件。网上有一些 单个.dll文件的下载,但是尝试后均无效。正确的做法是micorsoft 官网下载相应更新,再安装。重启后OK:

KB2999226、KB3118401更新下载:

  KB2999226 微软下载链接 https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

  KB3118401 微软下载链接 https://support.microsoft.com/en-us/help/3118401/update-for-universal-c-runtime-in-windows

猜你喜欢

转载自blog.csdn.net/w294954902/article/details/79641798