feedinlib icon indicating copy to clipboard operation
feedinlib copied to clipboard

Examples do not work when installing with pip install feedinlib

Open Bachibouzouk opened this issue 4 years ago • 2 comments

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?

Bachibouzouk avatar Mar 29 '21 16:03 Bachibouzouk

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

uvchik avatar Jun 21 '21 11:06 uvchik

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

uvchik avatar Jun 22 '21 14:06 uvchik