0

I'm trying the code below:

import pandas as pd
tables = pd.read_html('https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nominal)')

But it is giving me the error:

ImportError: lxml not found, please install it

Why after doing '''pip install lxml''' the error message keeps showing up? Should I use the 'import lxml' ?

0 Answers0