No module named pandas_datareader

后端 未结 12 1690
日久生厌
日久生厌 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:34

    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.

    0 讨论(0)
  • 2021-02-07 07:34

    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.

    0 讨论(0)
  • 2021-02-07 07:37

    You may consider upgrading your pandas with:

    pip3 install --upgrade pandas
    
    0 讨论(0)
  • 2021-02-07 07:37

    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.

    0 讨论(0)
  • 2021-02-07 07:38

    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

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题