FS#55275 - [ipython2] Can't launch, missing module: backports.shutil_get_terminal_size

Attached to Project: Community Packages
Opened by TesX (tesfabpel) - Thursday, 24 August 2017, 11:48 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 24 August 2017, 17:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Traceback (most recent call last):
File "/usr/bin/ipython2", line 4, in <module>
from IPython import start_ipython
File "/usr/lib/python2.7/site-packages/IPython/__init__.py", line 48, in <module>
from .core.application import Application
File "/usr/lib/python2.7/site-packages/IPython/core/application.py", line 25, in <module>
from IPython.core import release, crashhandler
File "/usr/lib/python2.7/site-packages/IPython/core/crashhandler.py", line 28, in <module>
from IPython.core import ultratb
File "/usr/lib/python2.7/site-packages/IPython/core/ultratb.py", line 128, in <module>
from IPython.utils.terminal import get_terminal_size
File "/usr/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 backports.shutil_get_terminal_size

Additional info:
* ipython2-5.3.0-1
* the package community/python2-backports.shutil_get_terminal_size is installed (1.0.0-1)

Steps to reproduce:
Try to launch ipython2
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 24 August 2017, 17:03 GMT
Reason for closing:  Works for me
Additional comments about closing:  pacman -Ql python2-backports.shutil_get_terminal_si ze
pacman -Qkk python2-backports.shutil_get_terminal_si ze

This works for me, I rather suspect you have a corrupted package. ;)
For further help, the forums are probably more useful than the bugtracker in this case.

Loading...