无法在Windows Google计算引擎实例上安装Python 2.7.9 [英] Fail to install Python 2.7.9 on a Windows google compute engine instance

查看:116
本文介绍了无法在Windows Google计算引擎实例上安装Python 2.7.9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我启动了一个新的Windows谷歌计算引擎实例.它正在运行Windows 2008 R2 Service Pack 1.

I fired up a new Windows google compute engine instance. It's running Windows 2008 R2, service pack 1.

我下载并尝试运行版本2.7.9的Python .msi安装程序,但安装失败并出现以下错误:

I download and try running the Python .msi installer for version 2.7.9, and it fails with this error:

此Windows Installer软件包有问题.无法完成该安装所需的程序.请与您的支持人员或包装供应商联系.

There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.

我在64位和32位安装程序中都看到此错误.

I see this error for both the 64-bit and the 32-bit installer.

有没有其他人看到它或知道解决方法?

Has anyone else seen it or know of a work-around?

推荐答案

我转载了您的问题,发现了两种解决方法:

I reproduced your issue and I found two workarounds:

  1. 您可以安装 python 2.7.6 成功,无需采取进一步措施.
  2. 如果您需要 python 2.7.9 可以从安装菜单中取消选择pip来安装它. 这似乎与另一个线程中的此答案有关,尽管在这种情况下,问题在于3.4版.
  1. You can install python 2.7.6 successfully without further action.
  2. If you need python 2.7.9 you can install it deselecting pip from the install menu. This seems to be related to this answer in another thread although in that case the issue is with version 3.4.

这篇关于无法在Windows Google计算引擎实例上安装Python 2.7.9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆