You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,autherHello Author, could you please tell me why there is an error here?
Here are track:
Traceback (most recent call last):
File "/home/d/Pycode/manner/manner/train.py", line 11, in
pyrootutils.setup_root(file, indicator=".project-root", pythonpath=True)
File "/home/d/anaconda3/envs/manner_env/lib/python3.9/site-packages/pyrootutils/pyrootutils.py", line 151, in setup_root
path = find_root(search_from, indicator)
File "/home/d/anaconda3/envs/manner_env/lib/python3.9/site-packages/pyrootutils/pyrootutils.py", line 73, in find_root
raise FileNotFoundError(f"Project root directory not found. Indicators: {indicator}")
FileNotFoundError: Project root directory not found. Indicators: ['.project-root']
The text was updated successfully, but these errors were encountered:
I got this answer from another issue in other project. And for now it works well.
just create a empty file named '.project-root' in your working directory(I mean, the directory where your terminal stay.)
you can simply create it use touch:
touch .project-root
hope it works
Hello,autherHello Author, could you please tell me why there is an error here?
Here are track:
Traceback (most recent call last):
File "/home/d/Pycode/manner/manner/train.py", line 11, in
pyrootutils.setup_root(file, indicator=".project-root", pythonpath=True)
File "/home/d/anaconda3/envs/manner_env/lib/python3.9/site-packages/pyrootutils/pyrootutils.py", line 151, in setup_root
path = find_root(search_from, indicator)
File "/home/d/anaconda3/envs/manner_env/lib/python3.9/site-packages/pyrootutils/pyrootutils.py", line 73, in find_root
raise FileNotFoundError(f"Project root directory not found. Indicators: {indicator}")
FileNotFoundError: Project root directory not found. Indicators: ['.project-root']
The text was updated successfully, but these errors were encountered: