我今天在我的Ubuntu 14.04机器上运行ipython并且ipython无法运行。我得到了以下错误输出。
selah@selah-OptiPlex-9020:~$ ipython
Traceback (most recent call last):
File "/usr/local/bin/ipython", line 7, in <module>
from IPython import start_ipython
File "/usr/local/lib/python2.7/dist-packages/IPython/__init__.py", line 45, in <module>
from .config.loader import Config
File "/usr/local/lib/python2.7/dist-packages/IPython/config/__init__.py", line 6, in <module>
from .application import *
File "/usr/local/lib/python2.7/dist-packages/IPython/config/application.py", line 17, in <module>
from IPython.external.decorator import decorator
File "/usr/local/lib/python2.7/dist-packages/IPython/external/decorator/__init__.py", line 2, in <module>
from decorator import *
EOFError: EOF read where object expected
我想不出任何明显的事情,我已经安装或以其他方式对我的系统造成了这种情况......但我可能会这样做。关于如何调查或修复的任何建议?
答案 0 :(得分:0)
不确定你是否已经解决了这个问题,但是以下命令为我解决了这个问题
conda upgrade ipython