PYTHON NO MODULE NAMED 'PANDAS_DATAREADER'

Big Data Hadoop

Hi All,
While executing following two lines:
import pandas_datareader as pdr
pdr.get_data_yahoo('AAPL')

Getting error as:
No module named 'pandas_datareader'

Regards,
Shyam Kumar Sinha

2
Answers

Replies

You just have to run the below line in your terminal and you will be good to go.


pip install pandas_datareader

 

If you have already installed pandas_datareader and you are still getting this error, here is what you can do. Uninstall the existing pandas_datareader with the below command. 


pip uninstall pandas_datareader


Upgrade pip with the below command,


pip install --upgrade pip


Install the pandas_datareader again even if it says the requirement is already satisfied. Execute the below command,


pip install pandas_datareader


Restart the kernel and run your code, the error should be resolved now.

 
 

If you want to unleash your potential in this competitive field, please visit the Big Data Hadoop course page for more information, where you can find the Big Data Hadoop tutorials and Big Data Hadoop frequently asked interview questions and answers as well.

 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.