I have just installed pandas_datareader
using pip install pandas-datareader
which ran successfully.
Now I am trying to use it for a tutorial an
I had the same problem. I tried pip install pandas_datareader in my Anaconda Prompt and the problem was solved. For some reason, it didn't work in command prompt.
I had the same issue installing through my terminal. Since I'm using Anaconda Navigator, I tried the CMD.exe Prompt and inputted "conda install -c conda-forge pandas-datareader".
Jupyter notebook now works like a charm.
You may consider upgrading your pandas with:
pip3 install --upgrade pandas
Go to C:\Users\[UserName]\AppData\Roaming\jupyter\kernels\python3
and open up kernel.json
. Check the first argument is pointing to a Python 3 environment/the environment you installed pandas_datareader to.
If you are facing this issue in Jupyter Notebook, just restart the kernel within the IDE. -Make sure u have installed pandas_datareader with "pip install pandas_datareader" -Click on the tab named 'kernel' -Click Restart
Your Problem will be resolved
For me, Import pandas_datareader worked from the command prompt while using python but did not work in jupyter.
From inside jupyter in a cell, I ran pip install pandas_datareader
I got a whole host of "Requirement already satisfied" messages
But at the very end, I was given this very important message. Successfully installed pandas-datareader-0.8.1 Note: you may need to restart the kernel to use updated packages In Jupyter notebook.
There is a kernel menu command sitting between cell and widgets. The restart command is in that drop-down menu option. In my case, this restarting of the kernel was the solution to my " No module named 'pandas_datareader' " all along.