Tab completion on IPython seems not to be working. For example,
import numpy
numpy.
simply adds a tab.
import nu
I had to mv ~/.ipython{,.bak}
in my case.
I had this problem and knew that I had the pip installed for the module I was looking for. Performing $ ipython --init
solved the problem for me.
I faced the same problem with the numpy library. The issue is with the particular version of ipython or jupyter notebook and it is resolved by simply updating ipython or jupyter. If you are using a conda environment like anaconda or miniconda then update ipython in that environment by using
conda update ipython
In case of anaconda you also need to update the qtconsole
conda update qtconsole
Sometimes anaconda constraints the update of ipython then try
conda update -all
If you are not using a environment then directly update using pip
pip update ipython
I had this problem. I solved by downgrade the python-parso package
downgrading the python-parso package (0.8.0-1 => 0.6.2-1)
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
The classic 'have you tried turning it off and on again' worked for me.
pip uninstall ipython
pip install ipython