For me, I am using Anaconda and I had to first activate my environment that I wanted to install pandas_datareader to. After activating in the anaconda command shell, the prompt switches to my environment. Then I run pip install pandas-datareader, restart the kernal on Jupyter Notebook and it works.