ipython2 does not work anymore
python at mrabarnett.plus.com
Thu Jan 19 15:08:34 EST 2017
On 2017-01-19 15:06, Cecil Westerhof wrote:
> 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
There's no module called 'path' in Python 3. Do you mean 'pathlib'?
If you do mean 'pathlib', it was introduced in Python 3.4.
More information about the Python-list