V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
hellorhb
V2EX  ›  Python

有没有玩树莓派的小伙伴,请教个问题。

  •  
  •   hellorhb · 2016-05-22 23:16:37 +08:00 · 4005 次点击
    这是一个创建于 2896 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 pi 上使用 python matplotlib 和 numpy 进行数据处理 ,但是写了个简单的脚本:

    import matplotlib.pyplot as plt
    plt.bar(left = 0,height = 1)
    plt.show()

    但是在执行的时候,直接提示段错误

    Segmentation fault

    也无法打开系统的 coredump 看不到哪里有问题

    PS:加一个问题,就是PI 官方镜像如何打开coredump。 使用ulimit -c ulimited 开启后,没有生成core文件。

    4 条回复    2016-05-23 08:02:17 +08:00
    lbp0200
        1
    lbp0200  
       2016-05-22 23:21:58 +08:00 via Android
    同问, btsync 同样错误
    wsy2220
        2
    wsy2220  
       2016-05-23 00:09:46 +08:00
    自己编译一个 python 试试?
    xspoco
        3
    xspoco  
       2016-05-23 01:11:38 +08:00
    在玩。吃灰中。
    wex
        4
    wex  
       2016-05-23 08:02:17 +08:00 via Android
    它在玩我
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2787 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:46 · PVG 13:46 · LAX 22:46 · JFK 01:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.