IPython and Jupyter autocomplete not working

I am very new to this and don't know why the autocomplete is not working. I tried modifying the iPython config file, installed readline, but still nothing.


Solution 1:

A possible reason a user may believe that autocomplete is not working may be that autocomplete is just taking too long. Circa 2020-11-27 this is particularly true for Pandas when operating with jedi in a Jupiter notebook environment.

The issue can be solved by using the following magic which deactivates jedi

%config Completer.use_jedi = False

For a deeper discussion follow the this thread and the links therein.

Solution 2:

the current Ipython with the Jupyter notebook doesn't require jedi.. So you have to just uninstall it with the following command.

pip uninstall jedi --yes

Solution 3:

Seems like installing a specific version of jedi worked for me:

!pip install --upgrade jedi==0.17.2

Solution 4:

Installing:

C:> pip install pyreadline

works fine, as it was suggested in an older post