rezaakb/pinns-torch

Project root directory not found

Closed this issue · 1 comments

I installed your packages as described and tried to run

python examples/navier_stokes/train.py

but i get an error;

`
Traceback (most recent call last):
File "[..]pinns-torch/examples/navier_stokes/train.py", line 8, in
import pinnstorch
File [..]local/lib/python3.10/site-packages/pinnstorch/init.py", line 1, in
from pinnstorch.train import train
File "[..].local/lib/python3.10/site-packages/pinnstorch/train.py", line 15, in
rootutils.setup_root(file, indicator=".project-root", pythonpath=True)
File "[..].local/lib/python3.10/site-packages/rootutils/rootutils.py", line 148, in setup_root
path = find_root(search_from, indicator)
File "[..].local/lib/python3.10/site-packages/rootutils/rootutils.py", line 70, in find_root
raise FileNotFoundError(f"Project root directory not found. Indicators: {indicator}")
FileNotFoundError: Project root directory not found. Indicators: ['.project-root']

`
Hope you can help...

Thank you for reporting the bug. We have made changes to the package to fix this bug. Please reinstall it and let us know if you encounter any issues.