在coursera网课python for everybody的课程3 using python to access web data的第四周课程中,作业要求的用beautifulsoup解决http问题并读取anchor tag来求和,我选择不安装bs而是下载bs4.zip,在运行代码时出现AttributeError:module 'html5lib.treebuilders' has no attribute '_base' .
解决方式出乎意料的简单QAQ
打开cmd,直接输入pip install --upgrade html5lib==1.0b8
搞定!
浪费了我一下午啊啊啊啊