ModuleNotFoundError: No module named 'scrapy.statscol'

Posted almost 6 years ago by Love Singh

Post a topic
Answered
L
Love Singh

Whenever I run a job I get a specific job I get the below error 


Not sure whats wrong it works fine on local 


scrapy version Scrapy 1.6.0


File "/usr/local/lib/python3.6/site-packages/sh_scrapy/stats.py", line 2, in <module>
    from scrapy.statscol import StatsCollector
ModuleNotFoundError: No module named 'scrapy.statscol

0 Votes

nestor

nestor posted almost 6 years ago Admin Best Answer

Scrapy 1.6 is now available as a stack.

0 Votes


4 Comments

Sorted by
T

Takeaki Kawai posted almost 6 years ago

same issue here. 

0 Votes

T

Takeaki Kawai posted almost 6 years ago

I solved my issue. 


Currently, Scrapinghub only offers scrapy<=1.5. (Check this repos. )

ModuleNotFoundError occurs because in my requirement.txt, I installed my own module and it requires scrapy 1.6 and it automatically installed scrapy1.6 in the container. 

1 Votes

L

Love Singh posted almost 6 years ago

Thank resolved

0 Votes

nestor

nestor posted almost 6 years ago Admin Answer

Scrapy 1.6 is now available as a stack.

0 Votes

Login to post a comment