导入pybel后死的内核

时间:2018-11-21 09:37:51

标签: python jupyter-notebook

我想

import pybel

在jupyter笔记本上写着

  

内核似乎已经死亡。它将自动重启。

当我在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)

1 个答案:

答案 0 :(得分:0)

使用pip3代替conda安装

pip3 install pybel

有效