No module named pandas_datareader

后端 未结 12 2040
日久生厌
日久生厌 2021-02-07 06:58

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

12条回答
  •  没有蜡笔的小新
    2021-02-07 07:39

    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.

提交回复
热议问题