FinRL-Trading icon indicating copy to clipboard operation
FinRL-Trading copied to clipboard

No module named 'env'

Open leezea opened this issue 2 years ago • 3 comments

when i run the code ,it appears " old_repo_ensemble_strategy/model/models.py", line 23, in from env.EnvMultipleStock_train import StockEnvTrain ModuleNotFoundError: No module named 'env' " did you forget upload this file?

leezea avatar Aug 12 '22 09:08 leezea

I have the same problem, have you found a solution?

JonathanHuangC avatar Oct 07 '22 16:10 JonathanHuangC

do you have installed openAi gym package ? because env come from gym (try to run pip install gym)

BaLaurent avatar Oct 28 '22 12:10 BaLaurent

Hi! I found they deleted them when refactoring and never solve it. Here is the commit when this happened, you can take the files from there: https://github.com/AI4Finance-Foundation/FinRL-Trading/commit/20b589847e85e8f73ed5ecb43d74b8eb10c84fbd

IvanTrujilloTrujillo avatar Aug 26 '23 12:08 IvanTrujilloTrujillo