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

Setting files are not installed via pip #175

Closed
henhuy opened this issue Mar 10, 2022 · 5 comments
Closed

Setting files are not installed via pip #175

henhuy opened this issue Mar 10, 2022 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@henhuy
Copy link
Collaborator

henhuy commented Mar 10, 2022

See:

Traceback (most recent call last):
  File "scripts/plot_scalar_results.py", line 24, in <module>
    import oemoflex.tools.plots as plots
  File "/home/local/RL-INSTITUT/hendrik.huyskens/miniconda3/envs/oemof-B3/lib/python3.8/site-packages/oemoflex/tools/plots.py", line 13, in <module>
    default_labels_dict = helpers.load_yaml(os.path.join(dir_name, "labels.yaml"))
  File "/home/local/RL-INSTITUT/hendrik.huyskens/miniconda3/envs/oemof-B3/lib/python3.8/site-packages/oemoflex/tools/helpers.py", line 9, in load_yaml
    with open(file_path, "r") as yaml_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/local/RL-INSTITUT/hendrik.huyskens/miniconda3/envs/oemof-B3/lib/python3.8/site-packages/oemoflex/tools/labels.yaml'

Solution: Add files to MANIFEST.in file

@henhuy henhuy added the bug Something isn't working label Mar 10, 2022
@henhuy henhuy self-assigned this Mar 10, 2022
@henhuy henhuy added this to the v0.0.1 milestone Mar 10, 2022
@jnnr
Copy link
Collaborator

jnnr commented Mar 14, 2022

Is this still open, @henhuy?

@henhuy
Copy link
Collaborator Author

henhuy commented Mar 14, 2022

Yes, still open! I can fix it

@henhuy
Copy link
Collaborator Author

henhuy commented Mar 14, 2022

Sorry, as you can see in error message - this belongs to oemoflex. Will fix it there.

@henhuy henhuy closed this as completed Mar 14, 2022
@jnnr
Copy link
Collaborator

jnnr commented Mar 14, 2022

@henhuy: Seems to be done already rl-institut/oemoflex#56

@henhuy
Copy link
Collaborator Author

henhuy commented Mar 14, 2022

You are right - this should be fine now.

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