鍍金池/ 問答/人工智能  Python/ Scrapy shell報錯 'StreamLogger' object has

Scrapy shell報錯 'StreamLogger' object has no attribute encoding?

在命令行中準備輸入scrapy shell www.baidu.com,得到結(jié)果:
圖片描述以前從沒發(fā)生過這種事情,請問這是什么情況??

回答
編輯回答
野橘

Do you have?
LOG_STDOUT = True

in settings.py?
remove it!

2017年6月12日 19:20