首页 > Web开发 > 详细

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

时间:2017-03-03 23:56:53      阅读:540      评论:0      收藏:0      [点我收藏+]

python 的版本是2.7,beautiful soup 4

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

没有找到问题的所在,

 

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

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

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

原文:http://www.cnblogs.com/bigvase/p/6498753.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!