Content of error report
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/site-packages/IPython/__init__.py", line 48, in <module>
from .core.application import Application
File "/usr/local/lib/python2.7/site-packages/IPython/core/application.py", line 25, in <module>
from IPython.core import release, crashhandler
File "/usr/local/lib/python2.7/site-packages/IPython/core/crashhandler.py", line 28, in <module>
from IPython.core import ultratb
File "/usr/local/lib/python2.7/site-packages/IPython/core/ultratb.py", line 128, in <module>
from IPython.utils.terminal import get_terminal_size
File "/usr/local/lib/python2.7/site-packages/IPython/utils/terminal.py", line 22, in <module>
from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size
ImportError: No module named shutil_get_terminal_size
Solution:
Annotate this line
from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size
to:
from shutil_backports import get_terminal_size as _get_terminal_size
It works

Similar Posts:
- [Solved] docker-compose:No module named ssl_match_hostname; ImportError: No module named shutil_get_te…
- [Solved] “import numpy as np” ImportError: No module named numpy
- [Solved] peewee error: ImportError: No module named ‘MySQLdb’;pymysql error: from . import connections # noqa: E402
- ImportError: No module named pytz
- [Solved] Tensorflow:ImportError: DLL load failed: The specified module cannot be found Failed to load the native TensorFlow runtime
- Django startup error: generator expression must be parentized
- How to Solve Centos Yum Error: No module named yum
- Python Importerror: DLL load failed: unable to find the specified module
- Python 2.7 and 3.4 requests Error: No module named ‘zlib’
- Symbol not found: __PyCodecInfo_GetIncrementalDecoder