oemof / feedinlib

This repository contains implementations of photovoltaic models to calculate electricity generation from a pv installation based on given solar radiation. Furthermore it contains all necessary pre-calculations.
MIT License
102 stars 44 forks source link

Examples do not work when installing with pip install feedinlib #56

Open Bachibouzouk opened 3 years ago

Bachibouzouk commented 3 years ago

One need to run pip install feedinlib --pre for the moment

and even then the following error pops

File "feedin.py", line 1, in <module>
    from feedinlib import era5
  File "/lib/python3.8/site-packages/feedinlib/__init__.py", line 5, in <module>
    from .powerplants import Photovoltaic, WindPowerPlant
  File "/lib/python3.8/site-packages/feedinlib/powerplants.py", line 24, in <module>
    from feedinlib.models.pvlib import Pvlib
ModuleNotFoundError: No module named 'feedinlib.models'

This is easily solvable by adding "feedinlib.models" to the list of packages in ´setup.py´

Would it be possible to make an actual release of the current stand of dev instead of the not working last release on pypi?

uvchik commented 3 years ago

You can try pip install https://github.com/oemof/feedinlib/archive/dev.zip to get the latest version.

uvchik commented 3 years ago

This should be solved with the release of v0.1.0. We may make a pre-release to test the new feedinlib.