windows下安裝python3.6.4完成,執行報錯

處處都長草發表於2018-03-21

原貼: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

相關文章