问题
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