beautiful soup 的select 选择器使用时报错 TypeError: 'NoneType' object is not callable

python 的版本是2.7,beautiful soup 4

在使用css选择器时报错 TypeError: 'NoneType' object is not callable

没有找到问题的所在,

 

但是换了python的版本之后就成功了,没有报错了,问题可能是python2.7和beautiful soup4不兼容,

现在使用的python2.7加上beautiful soup4

posted @ 2017-03-03 22:54  bigvase  阅读(2652)  评论(0编辑  收藏  举报