Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

oemof.solph installation error #84

@HANSBIBI

Description

@HANSBIBI

Hello community, after installing oemof.solph, I wanted to test the first example. Unfortunately I got an error message afterwards. What is my problem?

Traceback (most recent call last):
File "F:\python\0728\pf_oemof_0728.py", line 1, in
from oemof.solph import EnergySystem, Model, Bus, Flow, Source, Sink
ImportError: cannot import name 'Source' from 'oemof.solph' (G:\Python\Lib\site-packages\oemof\solph_init_.py)

add my pip list
Package Version


blinker 1.6.2
colorama 0.4.6
deepdiff 6.3.1
dill 0.3.7
networkx 3.1
numpy 1.25.1
oemof.network 0.5.0a1
oemof.solph 0.5.0
oemof.tools 0.4.2
ordered-set 4.1.0
packaging 23.1
pandapower 2.13.1
pandas 2.0.3
pip 23.1.2
ply 3.11
Pyomo 6.6.1
python-dateutil 2.8.2
pytz 2023.3
scipy 1.11.1
setuptools 65.5.0
six 1.16.0
tqdm 4.65.0
tzdata 2023.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions