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

Problem with importing oemof site packages #78

@pjutr

Description

@pjutr

Hello oemof community. For my master thesis I should model a heat network and I would like to use oemof for this. However, I have been experiencing problems installing oemof and the site packages for a few days now. The errors occur when importing the oemof site packages (oemof.tools, oemof.outputlib, ... ), while these packages are installed according to the Anaconda environment (see image). I am using Spyder as my programming environment. It seems that when I run the oemof_examples in spyder it is unable to find and use the packages, even though they are correctly installed in this location.

When running the code: basic_example.py from v0..x of the example codes I get the following error:
"ImportError: cannot import name 'helpers' from 'oemof.tools' (C:oemof.tools)"

Similar errors occur when running the other sample code. This while the Solver is installed correctly (see testcode):


Solver installed with oemof:

cbc: working
glpk: not working
gurobi: not working
cplex: not working


oemof successfully installed.


I am new to this platform and could use all the help I can get! Thanks in advance.

oemof

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