FinRL icon indicating copy to clipboard operation
FinRL copied to clipboard

ModuleNotFoundError: No module named 'finrl'

Open HyakunosukeOgata opened this issue 3 years ago • 2 comments

I clone this project and checkout the path to finrl. I tried to run "python main.py --mode = train", but i got an error message "ModuleNotFoundError: No module named 'finrl'" Could someone tell me where i went wrong O_O

HyakunosukeOgata avatar Apr 04 '23 08:04 HyakunosukeOgata

I think you might need to install FinRL in your environment, not just cloning it. Or you can try to navigate to the FinRL directory and use pip to install it

cd FinRL
pip install .

ZiyiXia avatar Apr 10 '23 13:04 ZiyiXia

I did that and it still doesn't work:

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for box2d-py Running setup.py clean for box2d-py Successfully built finrl elegantrl Failed to build box2d-py ERROR: Could not build wheels for box2d-py, which is required to install pyproject.toml-based projects

manu1dcb avatar Mar 06 '24 18:03 manu1dcb