Pagerank spider

I’m trying out the exercise from the last lesson of Scientifc computer with Python and whenever I run from the pagerank folder I get the following message.

Exception has occurred: AttributeError

module ‘html5lib.treebuilders’ has no attribute ‘_base’

I put the whole folder in the same workspasce and also updated bs4, html5lib to the most recent versions. Anyone know what the problem is here?

Sometimes learning the platform (VSCode) itself is a challenge lol. It took me hours to firgure out that VSCode requires a saved workspace to import files and attributes from another without having to directly referencing the path. I’m guessing this error is going to be something silly as well.

Figured it out. _base needs to be changed to .base instead.