ImportError: No module named shutil_get_terminal_size IPython

According to this question, try:

conda config --add channels conda-forge
conda install backports.shutil_get_terminal_size

I got the same question as yours. I solve it by using pip install -U ipython to update IPython and it workes. Hope it helps!


If you don't want to use conda, try below. pip install https://github.com/chrippa/backports.shutil_get_terminal_size/archive/159e269450dbf37c3a837f6ea7e628d59acbb96a.zip

Tags:

Ipython