Skip to content

Cannot import pandas-datareader with Pandas v0.2 #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
natashawatkins opened this issue May 12, 2017 · 1 comment
Closed

Cannot import pandas-datareader with Pandas v0.2 #327

natashawatkins opened this issue May 12, 2017 · 1 comment

Comments

@natashawatkins
Copy link

import pandas_datareader.data as web

returns

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-39-1e56a90396a2> in <module>()
----> 1 import pandas_datareader
      2 #import datetime as dt  # Standard Python date / time library

/home/natashawatkins/anaconda3/lib/python3.6/site-packages/pandas_datareader/__init__.py in <module>()
      1 __version__ = version = '0.3.0.post'
      2 
----> 3 from .data import (get_components_yahoo, get_data_famafrench, get_data_google, get_data_yahoo, get_data_enigma,  # noqa
      4         get_data_yahoo_actions, get_quote_google, get_quote_yahoo, DataReader, Options)  # noqa

/home/natashawatkins/anaconda3/lib/python3.6/site-packages/pandas_datareader/data.py in <module>()
      5 import warnings
      6 
----> 7 from pandas_datareader.google.daily import GoogleDailyReader
      8 from pandas_datareader.google.quotes import GoogleQuotesReader
      9 

/home/natashawatkins/anaconda3/lib/python3.6/site-packages/pandas_datareader/google/daily.py in <module>()
----> 1 from pandas_datareader.base import _DailyBaseReader
      2 
      3 
      4 class GoogleDailyReader(_DailyBaseReader):
      5 

/home/natashawatkins/anaconda3/lib/python3.6/site-packages/pandas_datareader/base.py in <module>()
     11 from pandas.compat import StringIO, bytes_to_str
     12 
---> 13 from pandas_datareader._utils import (RemoteDataError, SymbolWarning,
     14                                       _sanitize_dates, _init_session)
     15 

/home/natashawatkins/anaconda3/lib/python3.6/site-packages/pandas_datareader/_utils.py in <module>()
      3 
      4 import pandas as pd
----> 5 from pandas.core.common import PandasError
      6 from pandas import to_datetime
      7 

ImportError: cannot import name 'PandasError'
@natashawatkins
Copy link
Author

Sorry realised this has already been posted and is fixed in #304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant