首页 > 解决方案 > Scrapy shell 不允许我打字

问题描述

我现在在使用scrapy shell时遇到了一些麻烦。每当我尝试在其中输入命令时,所有这些调试消息都会在我输入时出现,我看不到我在写什么。如果有帮助,这是使用 VS Code 和 Anaconda 的虚拟环境。有什么想法吗?

2020-07-27 12:44:49 [parso.python.diff] DEBUG: -> code[replace] old[1:1] new[1:1]
2020-07-27 12:44:49 [parso.python.diff] DEBUG: parse_part from 1 to 1 (to 0 in part parser)
2020-07-27 12:44:49 [parso.python.diff] DEBUG: diff parser end
2020-07-27 12:44:49 [parso.python.diff] DEBUG: diff parser start
2020-07-27 12:44:49 [parso.python.diff] DEBUG: line_lengths old: 1; new: 1
2020-07-27 12:44:49 [parso.python.diff] DEBUG: -> code[replace] old[1:1] new[1:1]
2020-07-27 12:44:49 [parso.python.diff] DEBUG: diff parser end

标签: pythonscrapy

解决方案


困扰了我很久,没有找到理想的解决方案,卸载parso模块后,一切正常!

pip uninstall parso

推荐阅读