feedinlib icon indicating copy to clipboard operation
feedinlib copied to clipboard

load_open_FRED_weather_data example not working

Open ciaradunks opened this issue 4 years ago • 2 comments

I cloned the feedinlib dev branch, and installed the dependencies and loaded the jupyter notebook, but there is the following error when I try to run the 'load_open_FRED_weather_data' example:

ModuleNotFoundError: No module named 'open_FRED'

ciaradunks avatar Oct 12 '21 15:10 ciaradunks

Hi @ciaradunks, I just saw that you also need to install the extras listed in data-sources in setup.py. So if you install from dev and want to run all examples you can install the feedinlib as follows (assuming you are in the directory containing the setup.py): pip install -e .[examples,data-sources]

birgits avatar Oct 13 '21 08:10 birgits

Thank you! That has made it work :)

Now for this section: open_FRED_weather_windpowerlib_single_location = Weather( start=start_date, stop=end_date, locations=[location], heights=heights, variables=variables, **defaultdb())

I am getting this error: ConnectionException: Answer contains no JSON: <Response [500]>

But this is a server error right? So not a problem with the script?

ciaradunks avatar Oct 13 '21 09:10 ciaradunks