windows - 安装Python 2.7.12时出错 "There is a problem with this window installer package"

标签 windows python-2.7

我想安装 Python 2.7.12,但它显示以下错误。

There is a problem with this window installer package. A program required for this install to complete could not be run.

我看到了一个 YouTube 视频 ( https://www.youtube.com/watch?v=KikshWVWhzg ),因此我提供了对系统和用户的完全访问权限。即使这样,也会出现同样的问题。 如何解决这个问题?

最佳答案

这个问题我自己解决了。

实际发生的情况是:过去,我安装了Python 2.7.10,并且错误地从C盘删除了python27文件。但是 python 仍然安装在计算机中,当我尝试卸载它时,它显示与上面相同的错误。因此要卸载它,

首先我下载类似的python文件(python2.7.10ci)版本并尝试安装它。您会看到它已安装。因此,在 C 盘中生成了一个名为 python27 的文件,现在我可以卸载很久以前安装的 python。

卸载旧的 python2.7.10 后,我右键单击 python 2.7.10ci(在控制面板中)并选择修复。由于这个原因,再次使用 python27 生成了一个文件,现在我太容易卸载了它。

完成所有这些后,我下载了 python 2.7.12 并尝试安装。我能够安装它,没有任何错误。

关于windows - 安装Python 2.7.12时出错 "There is a problem with this window installer package",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45795946/

相关文章:

Windows 10 UWP 应用程序 - 后退按钮仅在第二次按下时有效

linux - Python,使用基本的 unix 命令和主机列表

python-2.7 - 如何在vs代码中为python2和python3配置pylint

python - 在 Windows x64 中运行 Cython - fatal error C1083 : Cannot open include file: 'basetsd.h' : No such file or directory

windows - COMDAT 段名

c++ - C++如何知道如何转换为特定类型?

java.lang.IllegalArgumentException : plexus.container.default:无效的模块名称: 'default'不是Java标识符

asp.net - Windows Azure Web 角色日志文件

来自 xx.xx import * : no module named 的 Python 导入错误

python - Numpy,将数组与标量相乘