istresearch / scrapy-cluster

This Scrapy project uses Redis and Kafka to create a distributed on demand scraping cluster.
http://scrapy-cluster.readthedocs.io/
MIT License
1.18k stars 323 forks source link

past.utils import old_div error #137

Closed ahlusar1989 closed 6 years ago

ahlusar1989 commented 6 years ago

I am currently, following the Quickstart:

http://scrapy-cluster.readthedocs.io/en/latest/topics/crawler/quickstart.html#scrapy

Traceback (most recent call last):
  File "./kafka-monitor/kafkadump.py", line 3, in <module>
    from past.utils import old_div
ImportError: No module named past.utils`

I receive the following traceback. After closer inspection I could not find the existence of this module. I welcome feedback if you would like for me to open a PR and remove this import?

ahlusar1989 commented 6 years ago

I sourced the problem to setuptools and not activating my venv.