ElegantRL icon indicating copy to clipboard operation
ElegantRL copied to clipboard

import error about `build_env` and solution

Open Yonv1943 opened this issue 3 years ago • 0 comments
trafficstars

Search the funtion build_env in ElegantRL. There are:

21 code results in AI4Finance-Foundation/ElegantRL

The from elegantrl.envs.Gym import build_env could be changed to from elegantrl.train.config import build_env

The function build_env has been moved from elegantrl/envs/Gym.py to elegantrl/train/config.py

https://github.com/AI4Finance-Foundation/ElegantRL/blob/51fce54cc6e5263b413059d74c0991070869396f/elegantrl/train/config.py#L204-L219

Yonv1943 avatar Jul 15 '22 03:07 Yonv1943