Bug 6604 - Broken ipython package
: Broken ipython package
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: unspecified
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2016-01-19 17:26 MSK by Eugene Budanov
Modified: 2016-01-19 19:10 MSK (History)
1 user (show)

See Also:
RPM Package:
Bad POT generating:


Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Budanov 2016-01-19 17:26:40 MSK
Run: sudo urpmi ipython than after installing some needed dependencies:

roger@jarnvidr ~ $ ipython
Traceback (most recent call last):
  File "/usr/bin/ipython", line 4, in <module>
    from IPython import start_ipython
  File "/usr/lib/python2.7/site-packages/IPython/__init__.py", line 45, in <module>
    from .config.loader import Config
  File "/usr/lib/python2.7/site-packages/IPython/config/__init__.py", line 6, in <module>
    from .application import *
  File "/usr/lib/python2.7/site-packages/IPython/config/application.py", line 19, in <module>
    from IPython.config.configurable import SingletonConfigurable
  File "/usr/lib/python2.7/site-packages/IPython/config/configurable.py", line 12, in <module>
    from .loader import Config, LazyConfigValue
  File "/usr/lib/python2.7/site-packages/IPython/config/loader.py", line 15, in <module>
    from IPython.utils.path import filefind, get_ipython_dir
  File "/usr/lib/python2.7/site-packages/IPython/utils/path.py", line 21, in <module>
    from IPython.utils.process import system
  File "/usr/lib/python2.7/site-packages/IPython/utils/process.py", line 28, in <module>
    from ._process_posix import _find_cmd, system, getoutput, arg_split, check_pid
  File "/usr/lib/python2.7/site-packages/IPython/utils/_process_posix.py", line 24, in <module>
    from IPython.external import pexpect
  File "/usr/lib/python2.7/site-packages/IPython/external/pexpect/__init__.py", line 5, in <module>
    from ._pexpect import *
ImportError: No module named _pexpect

But package python-pexpect was installed on system:

roger@jarnvidr ~ $ rpm -qa | grep pexpect
Comment 1 Denis Silakov 2016-01-19 19:10:10 MSK
Indeed, new python-pexpect requires python-ptyprocess which was absent in repos. As a result, ipython and some other programs became broken after pexpect update.

Fixed with the new python-pexpect package which now requires python-ptyprocess.