fredapi
fredapi copied to clipboard
'Basic Usage' snippet does not work
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 "
File "C:", line 8, in
ImportError: cannot import name 'Fred'
could you please provide a bit more context - which version of fredapi
are you using, and which OS? thanks!
mb, I'm using fredapi 0.4.2 and Windows7/python 3.5
The import statement is not finding the module.