我无法启动ipython-listener
我正在尝试在gedit3中使用一个叫做ipython插件,但是它需要一个叫做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 个回答
2
我尝试用
pip install terminal.embed
安装这个东西,但找不到。
这个其实不是一个单独的包,它是 IPython 的一部分。你的 IPython 版本太旧了(大概有几年了)。
这个插件需要 IPython 版本在 0.11 以上(现在的版本是 0.13.1)。你可以试试:
pip install --upgrade ipython