Q:

`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.

A:

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

A:

Your ipythonrc file may be out of date.
Try running
ipython -upgrade

A:

pip told me I had pyreadline version 1.7.1 installed
C:\Users\me>pip freeze | grep readline
pyreadline==1.7.1

Upgrading pyreadline fixed it for me:
C:\Users\me>pip install --upgrade pyreadline

C:\Users\me>pip freeze | grep readline
pyreadline==2.0

