推荐学习书目
› 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 · May 22, 2016 · 5078 views
    This topic created in 3779 days ago, the information mentioned may be changed or developed.

    在 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 replies  •  2016-05-23 08:02:17 +08:00
    lbp0200
        1
    lbp0200  
       May 22, 2016 via Android
    同问, btsync 同样错误
    wsy2220
        2
    wsy2220  
       May 23, 2016
    自己编译一个 python 试试?
    xspoco
        3
    xspoco  
       May 23, 2016
    在玩。吃灰中。
    wex
        4
    wex  
       May 23, 2016 via Android
    它在玩我
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   877 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:45 · PVG 03:45 · LAX 12:45 · JFK 15:45
    ♥ Do have faith in what you're doing.