pythonjupyter-notebookjedi

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


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.


Solution

  • 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