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

2

8

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.

Christine answered 16/12, 2020 at 10:50 Comment(0)
C
6

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

Cypsela answered 28/12, 2020 at 4:21 Comment(0)
V
3
# Generate config
ipython profile create
# Edit config file in vim
vim .ipython/profile_default/ipython_kernel_config.py
# And change 
c.IPCompleter.use_jedi = False in ipython_config.py

For More info - https://github.com/ipython/ipython/issues/11530

Vaporization answered 3/2, 2021 at 17:26 Comment(3)
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From ReviewUnravel
@TristanSeifert: There’s not even a link in the answer.Demogorgon
In JupyterLab the autocomplete feature seems to work out-of-the-box without the need to activate itPuissant

© 2022 - 2024 — McMap. All rights reserved.