我也是在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")?
2 个回复
listen6os
赞同来自:
listen6os
赞同来自: