Closed Tianming40 closed 4 months ago
Unter dem NSFR-Ordner befindet sich immer noch ein Ordner namens nsfr, der Importprobleme verursacht?
Hi there, have you installed the nsfr module using:
pip install -e .
from the nsfr folder ?
hi, Thank you for your reply. I just tried Quickstart in the README. The installation in requirement.txt was successful, but when I run train.py, it prompts that nfsr cannot be found. When I try pip install -e .
in the NAGUE folder, the following error will occur.
Obtaining file:///mnt/d/UNI/NUDGE
ERROR: file:///mnt/d/UNI/NUDGE does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
Best regards, Ming
You need to install from the nsfr project.
You need to do:
cd nsfr
before pip install -e .
It works now, thank you very much 👍
Traceback (most recent call last): File "train.py", line 18, in
from nudge.agents.logic_agent import LogicPPO
File "/mnt/d/UNI/NUDGE/nudge/agents/logic_agent.py", line 10, in
from nsfr.common import get_nsfr_model
ModuleNotFoundError: No module named 'nsfr.common'