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

import elfi fails #464

Closed
hpesonen opened this issue Mar 7, 2023 · 1 comment
Closed

import elfi fails #464

hpesonen opened this issue Mar 7, 2023 · 1 comment

Comments

@hpesonen
Copy link
Member

hpesonen commented Mar 7, 2023

Summary:

import elfi fails - caused by missing __init__.py in elfi/methods/inference/bsl

Description:

Traceback (most recent call last):
  File "MA2_run.py", line 1, in <module>
    import elfi
  File "/opt/anaconda3/envs/test_elfi_085/lib/python3.8/site-packages/elfi/__init__.py", line 19, in <module>
    from elfi.methods.inference.bsl import *
  File "/opt/anaconda3/envs/test_elfi_085/lib/python3.8/site-packages/elfi/methods/inference/bsl.py", line 10, in <module>
    from elfi.methods.bsl.pdf_methods import gaussian_syn_likelihood
ModuleNotFoundError: No module named 'elfi.methods.bsl'

Reproducible Steps:

Please report steps to reproduce the issue. If it's not possible to reproduce, please include a description of how you discovered the issue.

If you have a reproducible example, please include it.

Current Output:

The current output. Knowing what is the current behavior is useful.

Expected Output:

Describe what you expect the output to be. Knowing the correct behavior is also very useful.

ELFI Version: 0.8.5

@hpesonen
Copy link
Member Author

hpesonen commented Mar 7, 2023

Fixed in #465

@hpesonen hpesonen closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant