effective-pandas icon indicating copy to clipboard operation
effective-pandas copied to clipboard

Python 3.6 pandas_datareader not found

Open ScottTuch opened this issue 7 years ago • 5 comments

I am running Windows 10 64 bit, python 3.6, spyder. I have both pandas_datareader and pandas_datareader-0.5.0.dist-info installed in the same site packages as pandas. When I attempt to import the module I receive the following error message:

Python 3.6.2 |Anaconda, Inc.| (default, Sep 19 2017, 08:03:39) [MSC v.1900 64 bit (AMD64)] Type "copyright", "credits" or "license" for more information.

IPython 6.1.0 -- An enhanced Interactive Python.

import pandas as pd

import pandas_datareader as pdr Traceback (most recent call last):

File "", line 1, in import pandas_datareader as pdr

ModuleNotFoundError: No module named 'pandas_datareader'

Who do I import the pandas_datareader via another method or have python recognize the module?

ScottTuch avatar Oct 09 '17 12:10 ScottTuch

Is your correct environment active when starting IPython?

TomAugspurger avatar Oct 09 '17 14:10 TomAugspurger

Are you sure that the pandas-datareader package is installed?

jamesmyatt avatar Oct 09 '18 16:10 jamesmyatt

Just checking if a solution was found for this issue? I'm facing the same problem: confirming that both pandas and pandas_datareader exist in my test environment, nevertheless, when I use import pandas_datareader, I get "ModuleNotFoundError:no module named pandas_datareader".

cSharma19 avatar Aug 14 '19 19:08 cSharma19

Just FYI, I'm not really keeping this up to date. Eventually the content will make it's way into the pandas documentation itself.

On Wed, Aug 14, 2019 at 2:45 PM cSharma19 [email protected] wrote:

Just checking if a solution was found for this issue? I'm facing the same problem: confirming that both pandas and pandas_datareader exist in my test environment, nevertheless, when I use import pandas_datareader, I get "ModuleNotFoundError:no module named pandas_datareader".

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TomAugspurger/effective-pandas/issues/20?email_source=notifications&email_token=AAKAOIUP7OYFHE5L4UQVBLTQEROEDA5CNFSM4D6JUKY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4J4WZA#issuecomment-521390948, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKAOIRGZXG27ALXB4QMSJ3QEROEDANCNFSM4D6JUKYQ .

TomAugspurger avatar Aug 14 '19 20:08 TomAugspurger

Thanks Tom - new here and still learning the etiquette. I'm hoping to see more responses to this issue....it's got me stumped completely,

cSharma19 avatar Aug 14 '19 22:08 cSharma19