SciPy

报告错误

请帮助我们报告您遇到的任何问题。

SciPy Stack 中的所有项目都有自己的错误跟踪器,可以在其中报告问题。有关问题和功能请求,最好发送到相关项目的邮件列表。

请在以下跟踪器中报告错误、文档错误等

对于此 scipy.org 网站的问题,请使用 scipy.org 网站项目 的错误跟踪器。这不包括 docs.scipy.org:文档中的问题应报告给该文档所描述的项目。

提交错误的指南

  • 提供一个好的描述。类似“SciPy 坏了!!!”的票据没有用;相反,请清楚地说明问题,例如,“scipy.ndimage 忽略关键字 'axis'”。

  • 包含一个最小的独立代码片段来说明问题。尝试将其缩减到几行。

  • 如果您遇到段错误或内存错误,请提供 GDB 回溯

    $ gdb python
    GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43 GMT 2006)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    This GDB was configured as "i386-apple-darwin"...Reading symbols for shared
    libraries .. done
    (gdb) run -c "import scipy; scipy.test(10,10)"
    Starting program: /usr/local/bin/python -c "import scipy; scipy.test()"
    Reading symbols for shared libraries . done
    Program received signal SIGTRAP, Trace/breakpoint trap.
    0x8fe01010 in __dyld__dyld_start ()
    (gdb) c
    Continuing.
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    ...
    

    然后在段错误发生后使用“bt”命令获取回溯。或者,使用 Valgrind 运行代码。

目录

搜索