简体   繁体   English

自制安装python版本候选版本

[英]Homebrew install python release candidate version

On mac os, I just updated to Maverick and now when I try to run a script with zbar for example, I get an error : Segmentation fault: 11 在Mac OS上,我刚刚更新到Maverick,现在当我尝试使用zbar运行脚本时,出现错误: Segmentation fault: 11

I see on python.org : 我在python.org上看到了:

"Python 2.7.6 release candidate 1 was released on October 26, 2013. This is a 2.7 series bugfix release. Most importantly, it resolves an issue that caused the interactive prompt to crash on OS X 10.9. It also includes numerous bugfixes over 2.7.5." “ Python 2.7.6候选发布版本1已于2013年10月26日发布。这是2.7系列的错误修正版本。最重要的是,它解决了导致交互式提示在OS X 10.9上崩溃的问题。它还包含超过2.7的许多错误修正.5。”

Ok Awesome ! 好极了! But.. I installed python with homebrew and when i do brew install python its already up to date (2.7.5). 但是..我用自制软件安装了python,当我做brew install python它已经是最新版本(2.7.5)。 How can I fix that ? 我该如何解决?

(To be honest I tried to download the .dmg fron python.org and then installed it and that becomes a mess mixing versions... So I cleaned everything and now I would like to know what is the real thing to do.) (说实话,我尝试下载.dmg fron python.org,然后安装它,结果变成一个混乱的混合版本……所以我清理了所有内容,现在我想知道什么是真正的事情。)

At the time you wrote the question, Python 2.7.6 was not yet released. 在您撰写问题时,Python 2.7.6尚未发布。 The text you quoted talks about a release candidate, which is not the final release. 您引用的文字讨论的是候选版本,而不是最终版本。 In the meantime, 2.7.6 has been released (today, at the time I write this), but Homebrew has not packaged it yet. 同时,已经发布了2.7.6(今天,在我撰写本文时),但是Homebrew尚未打包它。 Just give it some time. 给它一点时间。

It's unlikely that your crash has to do with this, though. 不过,崩溃不太可能与此有关。 At least you haven't shown any information to support this suspicion. 至少您没有显示任何信息来支持这种怀疑。 Most people have not had problems with homebrewed Python after upgrading to Mavericks. 升级到Mavericks之后,大多数人都没有使用自制Python的问题。

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

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