2020-08-31 12:23:51 [twisted] CRITICAL:
Traceback (most recent call last):
File "d:\python3.7\lib\site-packages\twisted\internet\defer.py", line 1418, in _inlineCallbacks
result = g.send(result)
File "d:\python3.7\lib\site-packages\scrapy\crawler.py", line 86, in crawl
self.spider = self._create_spider(*args, **kwargs)
File "d:\python3.7\lib\site-packages\scrapy\crawler.py", line 98, in _create_spider
return self.spidercls.from_crawler(self, *args, **kwargs)
File "d:\python3.7\lib\site-packages\scrapy_redis\spiders.py", line 154, in from_crawler
obj.setup_redis(crawler)
File "d:\python3.7\lib\site-packages\scrapy_redis\spiders.py", line 70, in setup_redis
self.server = connection.from_settings(crawler.settings)
File "d:\python3.7\lib\site-packages\scrapy_redis\connection.py", line 60, in get_redis_from_settings
return get_redis(**params)
File "d:\python3.7\lib\site-packages\scrapy_redis\connection.py", line 90, in get_redis
return redis_cls(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'encoding'
这个报错实在没弄明白 求大神解答 问题点在哪?如何修改?
TypeError: __init__() got an unexpected keyword argument 'encoding'