在Mac OS Mavericks上安装wxPython [英] Install wxPython on Mac os Mavericks

查看:111
本文介绍了在Mac OS Mavericks上安装wxPython的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Macbook Air上运行Mavericks.今天,我通过他们的网站下载了wxPython,但是,当我单击安装包时,我得到了:

I am on a Macbook Air, running Mavericks. Today I downloaded wxPython via their website, however, when I click on the install package I get:

wxPython3.0-osx-cocoa-py2.7.pkg" is damaged and can’t be opened. You should eject the disk image.

任何人都有解决此问题的想法,谢谢.

Anyone have any ideas to get around this, thanks.

推荐答案

根据#14523 ,问题是该程序包未签名(这是一个旧式程序包,不再受完全支持,这就是为什么您收到错误的错误消息,并且上下文单击打开"的通常解决方法不起作用的原因.)

According to #14523, the problem is that the package is not signed (and it's an old-style package, which isn't fully supported anymore, which is why you get the wrong error message, and the usual workaround of context-clicking Open doesn't work).

有两种解决方法:

首先,您可以关闭Gatekeeper (在系统偏好设置"中的安全性"和隐私,常规,选择允许从以下位置下载应用程序"单选按钮),安装wxPython,然后重新打开Gatekeeper.

First, you can turn off Gatekeeper (in System Preferences, Security & Privacy, General, select the "Allow apps downloads from: … Anywhere" radio button), install wxPython, then turn Gatekeeper back on.

或者,您可以从命令行安装:

Alternatively, you can install from the command line:

sudo installer -pkg /path/to/wxPython.pkg -target /

这篇关于在Mac OS Mavericks上安装wxPython的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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