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.
Enable autocomplete featureTo enable code autocomplete in Jupyter Notebook or JupyterLab, you just need to hit the Tab key while writing code. Jupyter will suggest a few completion options. Navigate to the one you want with the arrow keys, and hit Enter to choose the suggestion.
Access the Jupyter Menu You have auto-complete in Jupyter notebooks like you have in any other Jupyter environment. Simply hit the “Tab” key while writing code. This will open a menu with suggestions. Hit “Enter” to choose the suggestion.
Little late answer, but you might try this at the top of your notebook:%config Completer.use_jedi = False
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With