IPython 和 Jupyter 自动完成功能不起作用 [英] IPython and Jupyter autocomplete not working

查看:32
本文介绍了IPython 和 Jupyter 自动完成功能不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对此很陌生,不知道为什么自动完成功能不起作用.我尝试修改 iPython 配置文件,安装 readline,但仍然没有.

I am very new to this and don't know why the autocomplete is not working. I tried modifying the iPython config file, installed readline, but still nothing.

推荐答案

用户认为自动完成不起作用的一个可能原因可能是自动完成花费的时间太长.大约在 2020 年 11 月 27 日,在 Jupiter notebook 环境中使用 jedi 操作时,对于 Pandas 尤其如此.

A possible reason a user may believe that autocomplete is not working may be that autocomplete is just taking too long. Circa 2020-11-27 this is particularly true for Pandas when operating with jedi in a Jupiter notebook environment.

这个问题可以通过使用以下 magic 来解决绝地

The issue can be solved by using the following magic which deactivates jedi

%config Completer.use_jedi = False

要进行更深入的讨论,请遵循此线程 和其中的链接.

For a deeper discussion follow the this thread and the links therein.

这篇关于IPython 和 Jupyter 自动完成功能不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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