I recently update my system from 15.10 to 16.04 but now I'm having a problem with the interpreter used by ipython.
Now ipython a ipython3 uses the same version (3.5.1)
I have tried reinstalling ipython but the problem persist.
Here are the versions reported by the console:
$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
$ python3
Python 3.5.1+ (default, Mar 30 2016, 22:46:26)
[GCC 5.3.1 20160330] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
$ ipython
Python 3.5.1+ (default, Mar 30 2016, 22:46:26)
Type "copyright", "credits" or "license" for more information.
IPython 2.4.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
$ ipython3
Python 3.5.1+ (default, Mar 30 2016, 22:46:26)
Type "copyright", "credits" or "license" for more information.
IPython 2.4.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
type -a ipython
andtype -a ipython3
?ipython is /usr/local/bin/ipython
– presumably you have a different IPython in/usr/local/bin
in addition to the one/usr/bin
. The latter was likely installed by the package manager. What's the output of/usr/bin/ipython <&- | head -n 1
and/usr/bin/ipython3 <&- | head -n 1
?