0👍
I had the same issue. I’m working within a complex application, using asyncio
, multiprocessing
, Twisted and Scrapy all together.
The solution for me was to use asyncioreactor
, by installing the alternate reactor before any imports in scrapy
:
from twisted.internet import asyncioreactor
asyncioreactor.install()
from scrapy import stuff
# ...
Source:stackexchange.com