scrapinghub / frontera

A scalable frontier for web crawlers
BSD 3-Clause "New" or "Revised" License
1.29k stars 216 forks source link

ImportError: cannot import name 'FrontierManager' from 'frontera' #349

Closed samueljklee closed 5 years ago

samueljklee commented 5 years ago

Hello,

I've recently read through the documents and currently testing out the example codes. Distributed code works well (with zeromq, sql) but I am having issues with other sample codes.

I am currently trying to test frontier, link: https://frontera.readthedocs.io/en/latest/topics/frontier-tester.html which is equivalent to the sample code at https://github.com/scrapinghub/frontera.git at the following location:

When I run both scripts, first they're not Python3 compatible. Second, I get this error: ImportError: cannot import name 'FrontierManager' from 'frontera'

I tried adding LocalFrontierManager into frontera/init.py and I got another import error: ImportError: cannot import name 'graphs' from 'frontera'