Skip to content
New issue

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

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

Already on GitHub? # to your account

Missing Modules when installing via pip and GitHub #13

Open
Tianmaru opened this issue May 27, 2024 · 2 comments
Open

Missing Modules when installing via pip and GitHub #13

Tianmaru opened this issue May 27, 2024 · 2 comments

Comments

@Tianmaru
Copy link

Tianmaru commented May 27, 2024

How to replicate:

$ pip install git+https://github.com/OpenFAST/openfast_toolbox.git@648de5b803d60ca22d78d7b392d0f34222c26cac#egg=openfast_toolbox
$ python -c "import openfast_toolbox"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/USER/miniconda3/envs/openfast_toolbox/lib/python3.12/site-packages/openfast_toolbox/__init__.py", line 5, in <module>
    from .io import read
ModuleNotFoundError: No module named 'openfast_toolbox.io'

The openfast site-packages directory also only contains common.py and __init__.py.

@ebranlard
Copy link
Collaborator

might be fixed by #25

@coskunkut
Copy link

Until #25 gets merged, using --use-pep517 fixed the issue for me:

python -m pip install --use-pep517 -e .

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

No branches or pull requests

3 participants