No Module Named pandas_datareader : Quick Steps to Fix

No Module Named pandasdatareader error

No module named pandas_datareader occurs when either pandas_datareader is not installed or It has a location( path) related issue. Well, There so many ways to fix this error. In this article, We will see all its solution one by one.

No module named pandas_datareader (Cause)-

The reason is very straight. You have not installed pandas_datareader and importing or using it in your code.

no module named pandas_datareader
no module named pandas_datareader

As we do not have pandas_datareader, We are getting this error.

No module named pandas_datareader (Fix)-

Step 1: Installation pandas_datareader-

There are so many ways to install  pandas_datareader. Let’s see one by one.

Option 1: Installing using pip

pip install pandas-datareader

You may upgrade pip If it is not solving the problem.

pip install pip --upgrade

Option 2: Installing using conda –

conda is also a package manager like pip. We may use this –

conda install pandas-datareader

Option 3: Install from the source-

We may use the source code for the installation of pandas_datareader. Let’s see how?

git clone
cd pandas-datareader
python install


Step 2: Correcting path –

See You have fixed the above error by following any of the options. You need not do step 2. Well, In this step we will try to fix the path of pandas_datareader. Here are some steps-


2.1-  If you are using pip, You may uninstall it before installing it. It will remove the incompatible version and correct the path. Here is the way to uninstall it.

pip uninstall pandas_datareader

Now try to install it again (refer Step 1 option 1)


2.2- In many cases the underline pandas package cause incompatibility. In order to fix it, Use the below command.

pip3 install --upgrade pandas


2.3 – Restarting the python kernel, and Retiring it will definitely fix the issue.


I hope this article, Must solve your issue. Anyways, If it is still not solved so far, please comment below. We assure you that we will definitely look into it.


Data Science Learner Team

Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for signup. A Confirmation Email has been sent to your Email Address.

Something went wrong.

Meet Abhishek ( Chief Editor) , a data scientist with major expertise in NLP and Text Analytics. He has worked on various projects involving text data and have been able to achieve great results. He is currently manages, where he and his team share knowledge and help others learn more about data science.
Thank you For sharing.We appreciate your support. Don't Forget to LIKE and FOLLOW our SITE to keep UPDATED with Data Science Learner