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

load_open_FRED_weather_data example not working #69

Open
ciaradunks opened this issue Oct 12, 2021 · 2 comments
Open

load_open_FRED_weather_data example not working #69

ciaradunks opened this issue Oct 12, 2021 · 2 comments

Comments

@ciaradunks
Copy link

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'

@birgits
Copy link
Member

birgits commented Oct 13, 2021

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]

@ciaradunks
Copy link
Author

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?

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