我无法启动ipython-listener

时间:2013-02-04 22:43:12

标签: python ide ipython gedit

我正在尝试使用ipython plugi n来运行gedit3,但它需要ipython-listener,当我尝试启动它时,我得到了这个:

Traceback (most recent call last):
  File "/usr/local/bin/ipython-listener", line 27, in <module>
    from IPython.frontend.terminal.embed import InteractiveShellEmbed
ImportError: No module named terminal.embed

我正在运行ipython版本0.10.2和python版本2.7.2 +

我尝试pip install terminal.embed但找不到它:

Downloading/unpacking terminal.embed
  Could not find any downloads that satisfy the requirement terminal.embed
No distributions at all found for terminal.embed
Storing complete log in /home/amanda/.pip/pip.log

那么现在呢?

1 个答案:

答案 0 :(得分:2)

  

我尝试pip install terminal.embed但找不到它

这不是一个包,它是IPython的一部分。你的IPython太老了(几年)。

该插件取决于IPython≥0.11(当前为0.13.1)。尝试:

pip install --upgrade ipython