如何在Juypter Notebook中将'Completer.use_jedi'永久配置为'False' [英] How to config 'Completer.use_jedi' to 'False' in Juypter Notebook permanently
问题描述
每次打开新的 jupyter笔记本实例时,都需要运行%config Completer.use_jedi = False
命令,然后自动填充功能才开始起作用.
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.
每次都很累,在编码之前将use_jedi
配置为 False .
This is tiring every time, to config use_jedi
to False before coding.
请建议在juypter笔记本中是否有永久性修复程序可以自动完成.
kindly suggest if there is a permanent fix to have autocomplete in juypter notebook.
推荐答案
我从docker启动我的jupyterlab,并抓住了这个问题. 我这样解决了:
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
内容ipython_kernel_config.py:
Content ipython_kernel_config.py:
c.Completer.use_jedi = False
想法: https://github.com/ipython/ipython/issues/11530
这篇关于如何在Juypter Notebook中将'Completer.use_jedi'永久配置为'False'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!