gpt4 book ai didi

segmentation-fault - PyCharm 调试段错误(信号 11)

转载 作者:行者123 更新时间:2023-12-04 00:30:13 35 4
gpt4 key购买 nike

在PyCharm(社区版2016.2.3)中,使用anaconda2 + ubuntu 14.04,import matplotlib在 Debug模式期间导致信号 11 错误。在release模式下执行脚本是没有问题的。

python 代码:

import matplotlib as pt

调试控制台:

Connected to pydev debugger (build 162.1967.10) GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. Backend Qt4Agg is interactive backend. Turning interactive mode on.

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

最佳答案

我有同样的错误信息。我删除了anaconda并安装了miniconda并重新安装了pycharm。退出代码 139 出现在我运行 python 控制台和调试控制台时。

现在当我导入 matplotlib 时,我仍然收到消息:

后端 Qt4Agg 是交互式后端。打开交互模式。

GLib-GIO-Message:使用“内存”GSettings 后端。您的设置不会被保存或与其他应用程序共享。

我想那不太理想,但我没有收到退出代码,而且一切似乎都正常。这是一个解决方案,但必须有更健壮的方法。

关于segmentation-fault - PyCharm 调试段错误(信号 11),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40203572/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com