简体   繁体   English

Windows 8 Python不起作用

[英]Windows 8 Python doesn't work

I installed python 3.5.2 on Windows 8.1, I executed the python-3.5.2-amd64.exe installer. 我在Windows 8.1上安装了python 3.5.2,执行了python-3.5.2-amd64.exe安装程序。 Nothing bad happened. 没什么坏事。 I was searching the Python35 folder in C:\\ , but actually is in C:\\Users\\USER\\AppData\\Local\\Programs\\Python\\Python35 我在C:\\中搜索Python35文件夹,但实际上在C:\\ Users \\ USER \\ AppData \\ Local \\ Programs \\ Python \\ Python35中

I opened python.exe and I got an error: api-ms-win-crt-runtime-l1-1-0.dll is missing. 我打开python.exe时遇到错误:api-ms-win-crt-runtime-l1-1-0.dll丢失。

How can I make it works? 我该如何运作?

I already have installed Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.50727 and so on. 我已经安装了Microsoft Visual C ++ 2012 Redistributable(x64)-11.0.50727等。

Thank you in advance. 先感谢您。

OK, I solved it. 好,我解决了。

I installed the anaconda python, more preciously, miniconda: http://conda.pydata.org/miniconda.html 我安装了蟒蛇蟒蛇(更珍贵的是miniconda): http ://conda.pydata.org/miniconda.html

The software has been installed in C:\\Users\\NAME\\Miniconda3 , where I noticed that api-ms-win-crt-runtime-l1-1-0.dll and other files like this is in that folder, where the miniconda was installed. 该软件已安装在C:\\Users\\NAME\\Miniconda3 ,在这里我注意到api-ms-win-crt-runtime-l1-1-0.dll和其他类似文件在该文件夹中,在该文件夹中,miniconda是已安装。 Those files fill the missing files displayed on main error. 这些文件将填补主要错误中显示的丢失文件。

I thought I can only use the python through the miniconda launcher, but it works anyway. 我以为我只能通过miniconda启动器使用python,但是无论如何它都能工作。

Try to install this windows update: 尝试安装此Windows更新:

KB2999226 KB2999226

Or, I think you need to install the Visual C++ Redistributable for Visual Studio 2015. 或者,我认为您需要安装Visual Studio 2015的Visual C ++可再发行组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM