AI4Finance-Foundation / FinRL

FinRL: Financial Reinforcement Learning. 🔥
https://ai4finance.org
MIT License
9.48k stars 2.31k forks source link

ModuleNotFoundError: No module named 'finrl' #955

Open HyakunosukeOgata opened 1 year ago

HyakunosukeOgata commented 1 year ago

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

ZiyiXia commented 1 year ago

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 .
manu1dcb commented 4 months ago

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