简体   繁体   English

Python安装时出错

[英]Error during the installation of Python

I have downloaded too many versions of Python.我下载了太多版本的 Python。

But during the installation of each of them;但是在每个安装过程中; it gives me the following error:它给了我以下错误:

One or more issues caused the setup to fail.一个或多个问题导致设置失败。 Please fix the issues and then retry setup.请解决问题,然后重试设置。 For more information see the log file.有关详细信息,请参阅日志文件。

0x80240017 - Unspecified error


The log file is a notepad file;日志文件是记事本文件; and I don't know how to attach it to this post.而且我不知道如何将其附加到这篇文章中。
I have searched the word error in that file;我已经在该文件中搜索了error一词; and the result as follows:结果如下:

  • [0100:0778][2017-10-18T12:23:17]e000: Error 0x80240017: Failed to execute MSU package. [0100:0778][2017-10-18T12:23:17]e000:错误 0x80240017:无法执行 MSU package。
  • [15AC:02D0][2017-10-18T12:23:17]e000: Error 0x80240017: Failed to configure per-machine MSU package. [15AC:02D0][2017-10-18T12:23:17]e000:错误 0x80240017:无法配置每台机器 MSU package。
  • [15AC:02D0][2017-10-18T12:23:17]e000: Error 0x80240017: Failed to execute MSU package. [15AC:02D0][2017-10-18T12:23:17]e000:错误 0x80240017:无法执行 MSU package。
  • [15AC:1558][2017-10-18T12:23:17]e000: Error 0x80070642: Failed attempt to download URL: ' https://www.python.org/ftp/python/3.7.0/amd64a2/core.msi ' to: 'C:\Users\LENOO-PC\AppData\Local\Temp{E5B78068-5C25-4FCD-B784-FEBC797E2FE6}\core_JustForMe' [15AC:1558][2017-10-18T12:23:17]e000: Error 0x80070642: Failed attempt to download URL: ' https://www.python.org/ftp/python/3.7.0/amd64a2/core. msi '到:'C:\Users\LENOO-PC\AppData\Local\Temp{E5B78068-5C25-4FCD-B784-FEBC797E2FE6}\core_JustForMe'
  • [15AC:1558][2017-10-18T12:23:17]e000: Error 0x80070642: Failed to acquire payload from: ' https://www.python.org/ftp/python/3.7.0/amd64a2/core.msi ' to working path: 'C:\Users\LENOO-PC\AppData\Local\Temp{E5B78068-5C25-4FCD-B784-FEBC797E2FE6}\core_JustForMe' [15AC:1558][2017-10-18T12:23:17]e000:错误 0x80070642:无法从以下位置获取有效负载:' https://www.Z23EEEB4347BDD26BFC6B7EE9A3B755.DDZ/amdftp4a/core.7.7/amdftp4a/ msi ' 到工作路径:'C:\Users\LENOO-PC\AppData\Local\Temp{E5B78068-5C25-4FCD-B784-FEBC797E2FE6}\core_JustForMe'
  • [15AC:1558][2017-10-18T12:23:17]e313: Failed to acquire payload: core_JustForMe to working path: C:\Users\LENOO-PC\AppData\Local\Temp{E5B78068-5C25-4FCD-B784-FEBC797E2FE6}\core_JustForMe, error: 0x80070642. [15AC:1558][2017-10-18T12:23:17]e313:无法获取有效负载:core_JustForMe 到工作路径:C:\Users\LENOO-PC\AppData\Local\Temp{E5B78068-5C25-4FCD-B784 -FEBC797E2FE6}\core_JustForMe,错误:0x80070642。

Try install C Runtime update from Microsoft.尝试从 Microsoft 安装 C 运行时更新。 Use following link, https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows .使用以下链接https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows Then Try to reinstall python 3.5然后尝试重新安装python 3.5

I faced a similar problem recently.我最近遇到了类似的问题。 I noticed that the error came when trying to run the python.msi from a remote/network location.我注意到尝试从远程/网络位置运行 python.msi 时出现错误。 Copy the installer to local machine and it should work perfectly.将安装程序复制到本地机器,它应该可以正常工作。

I had the same issue with my fresh installation of windows 8.1(64x).我全新安装的 windows 8.1(64x) 遇到了同样的问题。 The problem was solved by updating the Windows using Windows Update panel.通过使用 Windows 更新面板更新 Windows 解决了该问题。 Following updates were installed(I can not be specific about which of them resolved my issue) but after installation of the updates and a system reboot, the latest version of python(3.10.5) was successfully installed on my machine.安装了以下更新(我无法具体说明哪些更新解决了我的问题),但在安装更新并重新启动系统后,最新版本的 python(3.10.5) 已成功安装在我的机器上。

在此处输入图像描述

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

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