`ipython` tab autocomplete does not work on imported module

Tab completion on IPython seems not to be working. For example,

import numpy
numpy.<tab>

simply adds a tab.

import numpy
num<tab>

just adds a tab, too. Could you please suggest some possible causes for this problem? I am running Windows 7 and Python 2.6.5.


Be sure you have installed the pyreadline library. It is needed for tab completion and other IPython functions - in Windows it doesn't come with the IPython package and you have to install it separately -

> pip install pyreadline

In case anyone is using the recent 7.19.0 and autocomplete does not work, try downgrading jedi to 0.17.2:

pip install jedi==0.17.2

See https://github.com/ipython/ipython/issues/12740 for details.