IT干货网

IPython 在 Spyder 中不可用

xxx_UU 2025年05月04日 编程设计 480 0

我认为我没有遇到 this closely related question 中的问题.

我在运行 Linux Mint 16 (基于 Ubuntu 13.10)并拥有 Spyder 2.2.5 和 IPython 0.13.2。

Interpreters菜单我只看到Open a Python interpreter...而不是打开 IPython 解释器的选项。

我需要做些什么来“显示”Spyder IPython“在哪里”?

这是我的“可选依赖项”的输出:

IPython >=0.13  :  0.13.2 (OK) 
matplotlib >=1.0:  1.2.1 (OK) 
pep8 >=0.6      :  None (NOK) 
pyflakes >=0.5.0:  0.7.3 (OK) 
pylint >=0.25   :  None (NOK) 
rope >=0.9.2    :  0.9.2 (OK) 
sphinx >=0.6.6  :  1.1.3 (OK) 

请您参考如下方法:

对我来说,将 IPython 更新到 4.1.1 版后,Spyder (2.3.8) 中不再提供 IPython 控制台。

解决方案是安装/升级 qtconsole:

pip install -U qtconsole 

另见 https://github.com/spyder-ide/spyder/issues/2608#issuecomment-130586847


评论关闭
IT干货网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!