module 'pandas_datareader' has no attribute 'get_data_yahoo'

Viewed 11089

I'm trying to get stock market history using pandas-datareader as specified in this SO question.

I've installed pandas-datareader with:
conda install -c https://conda.anaconda.org/anaconda pandas-datareader I'm running on windows 10, with pycharm, and anaconda3 interpreter

I'm trying to run the very basic:

import pandas_datareader as pdr
pdr.get_data_yahoo('AAPL')

But I get an error: File "D:/Dropbox/Duo/documents docs/Projects/F500AquisitionQuality/m_and_a_quality/stock_utils.py", line 2, in <module> pdr.get_data_yahoo('AAPL') AttributeError: module 'pandas_datareader' has no attribute 'get_data_yahoo'

Please note that the filename has nothing to do with pandas as in this reddit comment (the only related thing i could find online)

3 Answers
Related