Jupyter Lab or Jupyter Notebook autocompletion won't work

890 Views Asked by At

Last night I have updated all of pip packages and suddenly Jupyter autocompletion stop working. I have tried to use different release of jedi packages but won't help. I have used nbextenstion option as well with no luck.

I'm using jedi 0.18.0

Python version 3.91

Can anyone help me with this please?

2

There are 2 best solutions below

0
Michael On

Uninstalling jedi and enabling Hinterland from nbextension will resolve the issue.

The other way is keeping jedi and writing %config Completer.use_jedi = False on the top of Jupyter notebook

For more details follow this magic

0
Dave Halter On

This is a compatibility issue between IPython and Jedi and will be fixed with the next IPython release: https://github.com/ipython/ipython/issues/12740 (and my comment: https://github.com/ipython/ipython/issues/12740#issuecomment-751273584)

The solution is to temporarily use pip install jedi==0.17.2.