我正在尝试将我抓取的数据放在我firebase
的云帐户上,但是ImportError
当我运行蜘蛛时我得到了这个。我尝试制作新项目,甚至在特定版本上重新安装firebase
and ,但没有帮助。shub
Python
蜘蛛在我的机器上完美运行,并且没有显示任何 ImportErrors。这是错误日志。
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/scrapy/utils/defer.py", line 102, in iter_errback
yield next(it)
File "/usr/local/lib/python2.7/site-packages/sh_scrapy/middlewares.py", line 30, in process_spider_output
for x in result:
File "/usr/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/offsite.py", line 29, in process_spider_output
for x in result:
File "/usr/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/referer.py", line 339, in <genexpr>
return (_set_referer(r) for r in result or ())
File "/usr/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/urllength.py", line 37, in <genexpr>
return (r for r in result or () if _filter(r))
File "/usr/local/lib/python2.7/site-packages/scrapy/spidermiddlewares/depth.py", line 58, in <genexpr>
return (r for r in result or () if _filter(r))
File "/app/__main__.egg/Terminator/spiders/IcyTermination.py", line 18, in parse
from firebase import firebase
ImportError: No module named firebase
有什么帮助吗?