Pandas: read_html
<p>I'm trying to extract US states from wiki URL, and for which I'm using Python Pandas. </p>

<pre><code>import pandas as pd
import html5lib
f_states = pd.read_html('https://simple.wikipedia.org/wiki/List_of_U.S._states') 
</code></pre>

<p>However, the above code is giving me an error L</p>

<blockquote>
  <p>ImportError                               Traceback (most recent call last)
   in ()
        1 import pandas as pd
  ----> 2 f_states = pd.read_html('<a href="https://simple.wikipedia.org/wiki/List_of_U.S._states">https://simple.wikipedia.org/wiki/List_of_U.S._states</a>')</p>
  
  <p>if flavor in ('bs4', 'html5lib'):
      662         if not _HAS_HTML5LIB:
  --> 663             raise ImportError("html5lib not found, please install it")
      664         if not _HAS_BS4:
      665             raise ImportError("BeautifulSoup4 (bs4) not found, please install it")
  ImportError: html5lib not found, please install it</p>
</blockquote>

<p>I installed html5lib and beautifulsoup4 as well, but it is not working. 
Can someone help pls.</p>