如何在JuypterNotebook中永久将“Completer.use_jedi”配置为“False”

每次打开一个新的jupyter notebook实例时,它都需要%config Completer.use_jedi = False在自动完成功能开始工作之前运行命令。

这每次都很累,在编码之前配置use_jediFalse

请建议是否有永久修复程序可以在 juypter 笔记本中自动完成。

回答

我从 docker 启动我的 jupyterlab 并解决了这个问题。我是这样解决的:

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

内容 ipython_kernel_config.py:

c.Completer.use_jedi = False

想法:https : //github.com/ipython/ipython/issues/11530


以上是如何在JuypterNotebook中永久将“Completer.use_jedi”配置为“False”的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>