Libraries import and application, such as, import pandas_datareader.data as web

Hi, when I try to import the above library in Jupyter Notebook and download stock data, I get an error : "ModuleNotFoundError: No module named ‘pandas_datareader’. How to analyze the error in Python and debug them? thanks. Moreover, how may typical/common errors are there in Python? could you please summary them during online instructor-led session? thank again!

Hi Bintao,

Did you get the above question answered during the sessions?

Hi Sandeep, I did not receive the response to the above questions yet. Could you please have me your solution within Jupyter? thanks.

Hi @Bintao_Li,

We’ve installed the library on CloudxLab. Below command should work now

import pandas_datareader as pdr

If you are trying to import to install on local machine then please run below command in your Jupyter notebook

!pip install pandas_datareader

Hope this helps.

Thanks

1 Like