bloomfilter 运行时出错

[-]calg library: http://c-algorithms.sourceforge.net

截图未命名.jpg


 这个是啥
还有  老师马蜂窝爬虫里 这个java文件是啥

截图未命名.jpg

 

listen6os

赞同来自:

我也是在python3下运行老师的mfw_url_feed.py,也是报错,是不是python2到python3导致pybloomfilter 库有问题?怎么处理呢?   PS C:\github\spider-course-3\mafengwo> python mfw_url_feed.py Traceback (most recent call last):   File "mfw_url_feed.py", line 8, in <module>     from pybloomfilter import BloomFilter   File "C:\Python\Anaconda3\lib\site-packages\pybloomfilter.py", line 30     print "[-]calg library: http://c-algorithms.sourceforge.net"                                                                ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "[-]calg library: http://c-algorithms.sourceforge.net";)?

listen6os

赞同来自:

鼠标落在 from pybloomfilter import BloomFilter 上有错误提示: [pylint] E0401:Unable to import 'pybloomfilter'​ 但是 转到pybloomfilter的定义,却可以看到源码。。不知道是什么情况?

要回复问题请先登录注册