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

Pip install broken #43

Open
thomfoster opened this issue Oct 31, 2024 · 0 comments
Open

Pip install broken #43

thomfoster opened this issue Oct 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@thomfoster
Copy link

thomfoster commented Oct 31, 2024

Describe the bug
Pip installing the package, then importing with import bayex yields the error ModuleNotFoundError: No module named 'bayex.src'

To Reproduce
Create virtual env with python3.10.5 -m venv .venv
Activate virtual environment with source .venv/bin/activate
Install bayes pip install bayex
Try to import import bayex

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/thomasfoster/Documents/simplicity_is_all_you_need/.venv/lib/python3.10/site-packages/bayex/__init__.py", line 1, in <module>
    from bayex.src.optimizer import Optimizer, OptimizerState
ModuleNotFoundError: No module named 'bayex.src'```


Cloning the repo and installing with `pip install .` works, but then run into many errors with imports, such as cannot import domain from Bayex
@thomfoster thomfoster added the bug Something isn't working label Oct 31, 2024
@alonfnt alonfnt self-assigned this Nov 7, 2024
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