If you google this you see that tons of people have similar issues: https://github.com/ipython/ipython/issues/9656 https://github.com/ipython/ipython/issues/9815 https://github.com/chrippa/backports.shutil_get_terminal_size/issues/9
The most common "solution" there is reinstalling something with pip. My suspicion is that the people who see this on Debian also used pip and there is something interfering. Did you guys use pip (or something else to install Python modules not from Debian) and have a backports module or backports.shutil_get_terminal_size itself installed there? Best, Tobias On Wed, 16 Nov 2016 07:42:16 +0100 Julien Puydt <julien.pu...@laposte.net> wrote: > Hi, > > can all of you seeing the problem try to reproduce the following > session, please, and send what you get: > > jpuydt@nox:~$ python > Python 2.7.12+ (default, Nov 4 2016, 17:04:30) > [GCC 6.2.0 20161027] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from backports.shutil_get_terminal_size import get_terminal_size > >>> > > (as you see, there's no problem here...) > > Thanks, > > Snark on #debian-python > >