I've changed the question title to match the actual cause of my problem.
In my 14.04 setup, ipython
's subcommands don't work:
$ ipython locate
[TerminalIPythonApp] WARNING | File not found: u'locate'
This is similar to another problem from earlier releases of Ubuntu and IPython. I have the "stock" ipython
with Ubuntu 14.04.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
I have found that calling ipython2.7 locate
, for example, works, and this is a kind of work-around for now, but it generates a warning:
$ ipython2.7 locate
/usr/lib/python2.7/dist-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
warn("The top-level `frontend` package has been deprecated. "
/home/whoever/.config/ipython
Is there a nice clean way to fix this?