The solution to your problem is clearly stated in the error message. Code like the below does not specify an XML/HTML/etc. parser.
BeautifulSoup( ... )
In order to fix the error, you’ll need to specify which parser you’d like to use, like so:
BeautifulSoup( ..., "html.parser" )
You can also install a 3rd party parser if you’d like.