为什么命令行中的scrapy shell试图自动完成我的命令并运行到下一行? [英] Why is scrappy shell in command line trying to autocomplete my commands and running to the next line?

查看:29
本文介绍了为什么命令行中的scrapy shell试图自动完成我的命令并运行到下一行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Mac 上使用终端.当我输入scrapy shell 'website url' 时,终端开始尝试自动完成我的代码并且变得非常难以输入.代码运行到下一行.此错误仅发生在 shell 中,而不发生在普通终端中.

I am using Terminal on Mac. When I enter scrapy shell 'website url', terminal starts trying to autocomplete my code and it becomes very hard to type. Code runs onto the next line. This error only occurs in the shell, not in normal terminal.

在屏幕底部,它说

[F4] Emacs 1/1 [F3] 历史记录 [F6] 粘贴模式 [F2] 菜单 - CPython 3.7.3

[F4] Emacs 1/1 [F3] History [F6] Paste mode [F2] Menu - CPython 3.7.3

它从未用于显示此状态.我想关闭自动完成功能,以便我可以正常使用外壳.

It never used to display this status. I would like to turn autocomplete off so I can use the shell normally.

在终端首选项中,我尝试选择恢复默认配置文件".这没有帮助.

In Terminal Preferences, I tried selecting 'Restore Default Profiles'. This did not help.

推荐答案

Emacs 在scrapy shell 中打开.我卸载了该软件包并且它起作用了.

Emacs was open within scrapy shell. I uninstalled the package and it worked.

这篇关于为什么命令行中的scrapy shell试图自动完成我的命令并运行到下一行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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