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

'Basic Usage' snippet does not work #24

Open
Jacyle opened this issue Feb 20, 2019 · 2 comments
Open

'Basic Usage' snippet does not work #24

Jacyle opened this issue Feb 20, 2019 · 2 comments

Comments

@Jacyle
Copy link

Jacyle commented Feb 20, 2019

The following snippet doesn't work for me:

from fredapi import Fred
fred = Fred(api_key='insert api key here')
data = fred.get_series('SP500')

I get the following error:

from fredapi import Fred

Traceback (most recent call last):

File "", line 1, in
from fredapi import Fred

File "C:", line 8, in
from fredapi import Fred

ImportError: cannot import name 'Fred'

@mortada
Copy link
Owner

mortada commented Feb 21, 2019

could you please provide a bit more context - which version of fredapi are you using, and which OS? thanks!

@Jacyle
Copy link
Author

Jacyle commented Feb 22, 2019

mb, I'm using fredapi 0.4.2 and Windows7/python 3.5

The import statement is not finding the module.

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

2 participants