TAB 补全在 Jupyter Notebook 中不起作用,但在 iPython 终端中很好 [英] TAB completion does not work in Jupyter Notebook but fine in iPython terminal

查看:55
本文介绍了TAB 补全在 Jupyter Notebook 中不起作用,但在 iPython 终端中很好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TAB 完成在 iPython 终端中运行良好,但在 Firefox 浏览器中不起作用.

TAB completion works fine in iPython terminal, but not in Firefox browser.

到目前为止我尝试过但失败了,

So far I had tried but failed,

1).运行命令 $ sudo easy_install readline,

然后.egg文件写在/usr/local/lib/python2.7/dist-packages/readline-6.2.4.1-py2.7-linux-x86_64.egg,

但 TAB 补全在 Jupyter Notebook 中仍然不起作用.

but TAB completion still doesn't work in Jupyter Notebook.

2).也试图找到定位 ipython_notebook_config.py 或 ipython_config.py,但失败了.

2). also tried to find locate the ipython_notebook_config.py or ipython_config.py, but failed.

我使用 Python 3.5 和 iPython 4.0.0.并且两者都安装在 Ubuntu 15.10 /usr/share/anaconda3/bin/ipython.

I use Python 3.5 and iPython 4.0.0. and both are installed in Ubuntu 15.10 /usr/share/anaconda3/bin/ipython.

任何帮助将不胜感激!

推荐答案

这是一个已知问题,而绝地就是问题所在.尝试执行:

It's a known issue and jedi is the problem. Try executing:

pip3 install jedi==0.17.2

https://github.com/jupyter/notebook/issues/2435

这篇关于TAB 补全在 Jupyter Notebook 中不起作用,但在 iPython 终端中很好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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