No module named pandas_datareader

Goulouh Anwar picture Goulouh Anwar · Sep 18, 2017 · Viewed 68.7k times · Source

I have just installed pandas_datareader using pip install pandas-datareader which ran successfully.

Now I am trying to use it for a tutorial and I am getting this error when I try to import.

    import pandas_datareader as pdr

ModuleNotFoundError: No module named 'pandas_datareader'

This is the link to the tutorial.

https://www.datacamp.com/community/tutorials/finance-python-trading#gs.DgsO1BY

Any ideas?

Answer

Axis picture Axis · Sep 18, 2017

Type into Terminal:

pip install pandas_datareader

That's it