NoahHammer
NoahHammer
2017-02-28 01:54

运行ipython时出现如下错误

  • python

C:\Users\DiamondSherry>ipython
Traceback (most recent call last):
File "c:\python27\lib\runpy.py", line 162, in run_module_as_main
"
_main__", fname, loader, pkg_name)
File "c:\python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Python27\Scripts\ipython.exe\
_main__.py", line 5, in
File "c:\python27\lib\site-packages\IPython__init__.py", line 48, in
from .core.application import Application
File "c:\python27\lib\site-packages\IPython\core\application.py", line 25, in
from IPython.core import release, crashhandler
File "c:\python27\lib\site-packages\IPython\core\crashhandler.py", line 28, in
from IPython.core import ultratb
File "c:\python27\lib\site-packages\IPython\core\ultratb.py", line 128, in
from IPython.utils.terminal import get_terminal_size
File "c:\python27\lib\site-packages\IPython\utils\terminal.py", line 22, in
from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size
ImportError: No module named shutil_get_terminal_size

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答