Skip to content
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

Import error when using Pandas 0.20.1 #305

Closed
arose13 opened this issue May 5, 2017 · 3 comments
Closed

Import error when using Pandas 0.20.1 #305

arose13 opened this issue May 5, 2017 · 3 comments
Labels

Comments

@arose13
Copy link

arose13 commented May 5, 2017

There is an ImportError: cannot import name 'PandasError' when you use pandas version 0.20.1.

This is occurring on line 5 in _utils.py from pandas.core.common import PandasError

If there is anything I can do to help or fix it myself I'd love to!

Works with pandas 0.19.2 but not with pandas 0.20.1

@jreback
Copy link
Contributor

jreback commented May 5, 2017

this is already fixed by #304

@jreback jreback closed this as completed May 7, 2017
@jreback jreback added the bug label May 7, 2017
@jreback jreback added this to the 0.3.1 milestone May 7, 2017
@jreback jreback modified the milestone: 0.4.0 May 15, 2017
@yuqli
Copy link

yuqli commented May 16, 2017

Thanks. I came into a similar problem this morning and #304 solved this perfectly after I downloaded the latest github version 0.3.1.

In case any newcomer like me with the same problem I post my error codes here

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/anaconda/lib/python2.7/site-packages/pandas_datareader/data.py", line 7, in <module> from pandas_datareader.google.daily import GoogleDailyReader File "/anaconda/lib/python2.7/site-packages/pandas_datareader/google/daily.py", line 1, in <module> from pandas_datareader.base import _DailyBaseReader File "/anaconda/lib/python2.7/site-packages/pandas_datareader/base.py", line 11, in <module> from pandas.core.common import PandasError, is_number ImportError: cannot import name PandasError

I downloaded the latest version with this code in terminal
pip install git+https://github.com/pydata/pandas-datareader.git

Thanks for the post again.

@melroy89
Copy link

Yea kinda strange, but the workaround using the latest source code from git fixed my import problem. I think they need to update the pip package...

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

No branches or pull requests

4 participants