【问题标题】:Abort Trap 6 error installing PyMC on OSX 10.7在 OSX 10.7 上安装 PyMC 时出现中止陷阱 6 错误
【发布时间】:2013-11-07 02:40:58
【问题描述】:

我从源代码构建并安装了 PyMC。花了很多调试,但经过很长时间我成功安装了它。但是,现在当我尝试导入它时,它给了我一个Abort Trap: 6 错误。

Enthought Python Distribution -- www.enthought.com
Version: 7.1-2 (64-bit)

Python 2.7.2 |EPD 7.1-2 (64-bit)| (default, Jul 27 2011, 14:50:45) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "packages", "demo" or "enthought" for more information.
>>> import pymc
Abort trap: 6

我正在使用 OSX 10.7、numpy 1.8.0、scipy 0.13.0、pandas 0.3.0、matplotlib 1.4.x,并尝试安装 PyMC 3。

【问题讨论】:

    标签: python macos osx-lion pymc


    【解决方案1】:

    原来matplotlib在加载字体/Library/Fonts/NISC18030.ttf时崩溃了。由于字体不是必需的,我只是将其移至我的临时文件夹并解决了问题。不知道为什么 matplotlib 遇到问题。

    【讨论】:

    • 您能说一下您是如何确定 matplotlib 在特定字体上崩溃的吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-13
    相关资源
    最近更新 更多