oemof / oemof-solph

A model generator for energy system modelling and optimisation (LP/MILP).
https://oemof.org
MIT License
297 stars 126 forks source link

oemof_installation_test prints infeasible warning #1084

Open nehadimri1991 opened 3 months ago

nehadimri1991 commented 3 months ago

I'm getting the following error message when running oemof_installation_test command from inside the virtual environment.

~~Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Daten\solph\venv\Scripts\oemof_installation_test.exe__main__.py", line 4, in ModuleNotFoundError: No module named 'oemof.solph.console_scripts'~~

New message mentioned in: https://github.com/oemof/oemof-solph/issues/1084#issuecomment-2182320607

fwitte commented 3 months ago

@nehadimri1991, can you post the version of oemof-solph installed on your machine?

nehadimri1991 commented 3 months ago

@fwitte It's version 0.5.0

p-snft commented 3 months ago

In v0.5.0, the script was missing. It is re-added in v0.5.1. Can you confirm that it works with an updated version?

nehadimri1991 commented 3 months ago

It works with v0.5.1. Although there are two warning messages.

image

fwitte commented 3 months ago

The first warning has already been dealt with in #1049 and will be available with the upcoming release #1083, the other one I do not know right now. I cannot reproduce it with the current dev version, but it might be related to the numpy 2.0 release, which broke pyomo in some parts. Can you post your numpy version here?

nehadimri1991 commented 3 months ago

My numpy version is 1.26.4. Here is a list of all the packages installed in this virtual environment. venv_packages.txt