(Ubuntu) 错误:IPython Qtconsole无法启动
当我从终端启动 Ipython qtconsole 时,出现了以下错误:
python: /build/buildd/sip4-4.13.2/siplib/siplib.c:7915: sip_api_can_convert_to_type: Assertion `(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)' failed.
Aborted (core dumped)
这可能是因为 qt 的某些包坏掉了,但我不知道具体是哪些!我很希望能听听你们的意见,帮助我解决这个问题 :)。谢谢!
我使用的是 Python 2.7.3
1 个回答
0
我遇到了这个问题。当我安装了Python 3后,想要启动ipython时,我在控制台输入ipython3。
可以试着重新安装ipython :-)
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get install ipython