Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592172 - =dev-python/ipython-5.1.0 needs >=dev-python/pathlib-1.0.1-r2 to start
Summary: =dev-python/ipython-5.1.0 needs >=dev-python/pathlib-1.0.1-r2 to start
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-26 09:25 UTC by Nick
Modified: 2016-09-04 04:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2016-08-26 09:25:14 UTC
Running ipython (2.7) with dev-python/pathlib-1.0.1-r1 results in the following error:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/ipython", line 4, in <module>
    from IPython import start_ipython
  File "/usr/lib64/python2.7/site-packages/IPython/__init__.py", line 49, in <module>
    from .terminal.embed import embed
  File "/usr/lib64/python2.7/site-packages/IPython/terminal/embed.py", line 15, in <module>
    from IPython.core.magic import Magics, magics_class, line_magic
  File "/usr/lib64/python2.7/site-packages/IPython/core/magic.py", line 22, in <module>
    from IPython.core import oinspect
  File "/usr/lib64/python2.7/site-packages/IPython/core/oinspect.py", line 40, in <module>
    from IPython.utils.text import indent
  File "/usr/lib64/python2.7/site-packages/IPython/utils/text.py", line 21, in <module>
    from pathlib2 import Path
ImportError: No module named pathlib2

ipython3 (3.5) started properly. Emerging dev-python/pathlib-1.0.1-r2 fixed the problem with ipython2.