ipython2 does not work anymore

Cecil Westerhof Cecil at decebal.nl
Thu Jan 19 10:06:40 EST 2017


I did not work with ipython2 for a long time. Most of my work is done
with python3. I just tried to start ipython2 and got:
Traceback (most recent call last):
  File "/usr/bin/ipython2", line 7, in <module>
    from IPython import start_ipython
  File "/usr/lib/python2.7/site-packages/IPython/__init__.py", line 49, in <module>
    from .terminal.embed import embed
  File "/usr/lib/python2.7/site-packages/IPython/terminal/embed.py", line 16, in <module>
    from IPython.core.interactiveshell import DummyMod, InteractiveShell
  File "/usr/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 31, in <module>
    from pickleshare import PickleShareDB
  File "/usr/lib/python2.7/site-packages/pickleshare.py", line 40, in <module>
    from path import path as Path
ImportError: No module named path


What could be the problem here?


Python2 does work:
Python 2.7.12 (default, Jul 01 2016, 15:36:53) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Otherwise I would have a problem. Some scripts still use it.

I am working with openSUSE 13.2

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list