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

允我心安 提交于 2020-11-30 05:46:21

问题


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.


回答1:


Little late answer, but you might try this at the top of your notebook:
%config Completer.use_jedi = False



来源:https://stackoverflow.com/questions/44186370/kernel-taking-too-long-to-autocomplete-tab-in-jupyter-notebook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!