Kernel taking too long to autocomplete (tab) in Jupyter notebook

Viewed 11826

I just installed a few libraries for Deep Learning like keras, theano etc. The installation went fine but when I write code in Jupyter notebook and press tab for autocompletion, the kernel of jupyter notebook seems to take too long for autocompletion. There have been time when it has taken minutes to display autocompleted options. I initially thought that the kernel hung so I had to restart it every time.

I read in another Stack Overflow post that installing pyreadline may help. I installed it but I'm still having the same problem.

Has anyone else faced this problem? How do I go about fixing this?

Any pointers would be greatly appreciated.

2 Answers

Jedi is the culprit. Either you can disable it as suggested by @Miles above,
or remove it completely.

pip uninstall jedi

Uninstallig worked for me. Jupyter suggestions are much faster now!

Related