导入pyb后的死内核

2024-04-30 04:32:12 发布

您现在位置:Python中文网/ 问答频道 /正文

我想

import pybel

在jupyter笔记本上,上面写着

The kernel appears to have died. It will restart automatically.

当我在python3中使用它时,我得到:

Python 3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 09:53:17) 
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybel
terminate called after throwing an instance of 'std::logic_error'
    what():  basic_string::_M_construct null not valid
Aborted (core dumped)

Tags: thetoimporthave笔记本jupyteritkernel