Open kunhongwu opened 1 month ago
One easy way to solve this: Install the highway-env as it is, then cover the installed highway-env file with the heterogeneous highway-env package here: https://github.com/wuxiyang1996/Heterogeneous_Highway_Env
I'm sorry, but I don't quite understand what you mean. I tried to follow my understanding, but it still doesn't work. I'm new to Highway and not very familiar with it, so I hope the author can provide further guidance. Thank you!
Try to add the following lines to run.py
from gym.envs.registration import register register( id='highway-hetero-v0', entry_point='highway_env.envs:HighwayEnvHetero', )
register( id='highway-hetero-H-v0', entry_point='highway_env.envs:HighwayEnvHetero_H', )
See if it works
If it still does not work, try to install highway-env first and download the hetero-highway packages from GitHub. Cover the initial highway-env file located at the Anaconda with the downloaded hetero-highway files.
gym.error.NameNotFound: Environment highway-hetero-H doesn't exist.