How to config 'Completer.use_jedi' to 'False' in Juypter Notebook permanently

[亡魂溺海] 提交于 2021-01-29 06:06:16

问题


Every time a new jupyter notebook instance is opened, it requires %config Completer.use_jedi = False command to be run, before autocomplete functionality starts working.

This is tiring every time, to config use_jedi to False before coding.

kindly suggest if there is a permanent fix to have autocomplete in juypter notebook.


回答1:


I launch my jupyterlab from docker and catch this problem. I solved like this:

COPY ipython_kernel_config.py /root/.ipython/profile_default/ipython_kernel_config.py

Content ipython_kernel_config.py:

c.Completer.use_jedi = False

idea: https://github.com/ipython/ipython/issues/11530



来源:https://stackoverflow.com/questions/65321798/how-to-config-completer-use-jedi-to-false-in-juypter-notebook-permanently

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