Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running oemof_installation_test on venv #1084

Open
nehadimri1991 opened this issue Jun 21, 2024 · 6 comments
Open

running oemof_installation_test on venv #1084

nehadimri1991 opened this issue Jun 21, 2024 · 6 comments
Labels

Comments

@nehadimri1991
Copy link

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'

@fwitte
Copy link
Member

fwitte commented Jun 21, 2024

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

@p-snft p-snft added the bug label Jun 21, 2024
@nehadimri1991
Copy link
Author

@fwitte It's version 0.5.0

@p-snft
Copy link
Member

p-snft commented Jun 21, 2024

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
Copy link
Author

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

image

@fwitte
Copy link
Member

fwitte commented Jun 21, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants