ERROR ModuleNotFoundError: No module named 'scrapinghub.hubstorage'
A
AmaMidzu
started a topic
about 3 years ago
Hi, I have successfully deployed my spider but I can't schedule it:
2021-10-01 11:35:57.327000 ERROR 2021-10-01T11:35:57.325398 Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sh_scrapy/crawl.py", line 215, in main from sh_scrapy.writer import pipe_writer File "/usr/local/lib/python3.9/site-packages/sh_scrapy/writer.py", line 6, in <module> from scrapinghub.hubstorage.serialization import jsondefault 2021-10-01 11:35:57.338000 ERROR ModuleNotFoundError: No module named 'scrapinghub.hubstorage'
AmaMidzu
Hi, I have successfully deployed my spider but I can't schedule it:
2021-10-01 11:35:57.327000 ERROR 2021-10-01T11:35:57.325398 Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/sh_scrapy/crawl.py", line 215, in main
from sh_scrapy.writer import pipe_writer
File "/usr/local/lib/python3.9/site-packages/sh_scrapy/writer.py", line 6, in <module>
from scrapinghub.hubstorage.serialization import jsondefault
2021-10-01 11:35:57.338000 ERROR ModuleNotFoundError: No module named 'scrapinghub.hubstorage'
Deploy Info:
Stack scrapy:2.5
requirements.txt:
...
scrapinghub==2.3.1
Scrapy==2.5.0
shub==2.13.0
...