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

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

问题描述

我对此很陌生,我不知道为什么自动完成功能不起作用.我尝试修改ipython配置文件,安装了readline,但仍然没有执行任何操作.救命!

I am very new to this and I have no idea why the autocomplete is not working. I tried modifying the ipython config file, installed readline, but still nothing. Help!

推荐答案

用户可能认为自动完成功能不起作用的可能原因可能是自动完成时间太长.大约在2020-11-27,对于在 Jupiter笔记本环境中使用 jedi 进行操作的熊猫来说尤其如此.

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.

此问题可以通过使用以下魔术来解决. jedi

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天全站免登陆