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

[BUG]: make run results in an error #452

Open
RobertHerter opened this issue Feb 10, 2025 · 3 comments
Open

[BUG]: make run results in an error #452

RobertHerter opened this issue Feb 10, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@RobertHerter
Copy link

Describe the issue:

make run is not working

Reproduceable code example:

Error message:

<details>
venv/bin/python src/akkudoktoreos/server/eos.py
Traceback (most recent call last):
  File "/opt/EOS/src/akkudoktoreos/server/eos.py", line 17, in <module>
    from akkudoktoreos.config.config import ConfigEOS, SettingsEOS, get_config
ModuleNotFoundError: No module named 'akkudoktoreos'
make: *** [Makefile:88: run] Fehler 1
</details>

Version information:

master

@RobertHerter RobertHerter added the bug Something isn't working label Feb 10, 2025
@b0661
Copy link
Collaborator

b0661 commented Feb 10, 2025

Please do "make install" before.

@RobertHerter
Copy link
Author

make install fix the problem, but is make run not to run out of development an not needing make install ?

@b0661
Copy link
Collaborator

b0661 commented Feb 12, 2025

but is make run not to run out of development an not needing make install ?

The source code expects akkudoktoreos to be installed. There are no relative imports. make install just "installs" src/akkudoktoreos from the local repo into your python environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants