Open jiceline03 opened 7 months ago
gym is no longer supported since https://github.com/DLR-RM/rl-baselines3-zoo/pull/403
so i would recommend you to update the env to gymnasium and do a pull request to the gym donkey car repo so it would benefit everyone.
Another alternative is to use an old version of everything but this will bring you only more trouble.
🐛 Bug
I am encountering an issue when trying to train my donkeycar simulator agent using the train.py script from rl-baselines3-zoo. While I can successfully import and call the environment using gym.make('donkey-mountain-track-v0') in an IPython session (confirming the environment's availability), attempting to use the same environment within rl-baselines3-zoo results in an error indicating that the environment is not found in the gym registry.
This situation is puzzling for several reasons, given that I have taken the following steps to ensure compatibility and correct setup:
Despite these measures, the issue persists. Further debugging showed that although train.py successfully imports gym_donkeycar, but when I print out the list of environments currently registered in the gym registry immediately before the error occurs, the donkeycar environments are not listed.
I am looking for insights into why the environment registration for donkey-mountain-track-v0 might not be persisting or being recognized in the context of rl-baselines3-zoo's train.py execution, despite seemingly successful import and registration steps. Your help would be invaluable.
To Reproduce
Relevant log output / Error message
System Info
Checklist