如何在Juypter Notebook中将'Completer.use_jedi'永久配置为'False' [英] How to config 'Completer.use_jedi' to 'False' in Juypter Notebook permanently

查看:427
本文介绍了如何在Juypter Notebook中将'Completer.use_jedi'永久配置为'False'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次打开新的 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆