python报错:无法启动此程序,因为计算机中丢失api-ms-win-crt-runtime-|1-1-0.dll
api-ms-win-crt-runtime-|1-1-0.dll丢失的解决方法
问题:
在win7下安装Python 3.6.4的时候遇到下面这个错误
api-ms-win-crt-runtimel1-1-0.dll缺失
如图:
原因时候是因为,你的电脑系统里面原因,缺少 vc_redist.x64.exe 这个文件。
安装 vc_redist.x64.exe 这个文件即可。
VC++的库
Microsoft Visual C++ 2015 RC Redistributable (x64) – 14.0.22816原来就是对应的vc_redist.x64.exe:
其实你在安装Python环境的时候,最好顺便勾选安装此插件,就不会报错啦