Skip to content Skip to sidebar Skip to footer

Unable To Read The Html File Using Pandas

I am unable to read the HTML files using pandas. Below is the error screenshot:

Solution 1:

Kindly refer to the link for the same html parsing problem discussed in stackoverflow: html5lib: TypeError: __init__() got an unexpected keyword argument 'encoding'

You have to install via pip

html5lib=="0.9999999"

The problem here persists with the html5lib parse tree so you have to install html5lib separately since we can't upgrade specific modules in Pandas library.

Post a Comment for "Unable To Read The Html File Using Pandas"