Closed redfish9 closed 4 months ago
Hi @redfish9,
I recommend you install a highway-env (I am using v1.6) package first and then replace the code inside this package with the code in Heterogeneous_Highway_Env.
Will figure out the transplantation into the gymnasium in the next few days.
Thank you!
Thanks for your prompt reply! I'll try your recommended approach. Looking forward to see your following works!
Hi @redfish9,
I recommend you install a highway-env (I am using v1.6) package first and then replace the code inside this package with the code in Heterogeneous_Highway_Env.
Will figure out the transplantation into the gymnasium in the next few days.
Thank you!
Hi, i have the same issue, but i can not follow your reply. Could you show a more clear solution? Thanks very much.
Hi @hankerbit,
Try to install highway-env v1.6 from here first https://github.com/Farama-Foundation/HighwayEnv
Then use the code in the Heterogeneous_Highway_Env repo to cover the initial highway-env.
Hi @hankerbit,
Try to install highway-env v1.6 from here first https://github.com/Farama-Foundation/HighwayEnv
Then use the code in the Heterogeneous_Highway_Env repo to cover the initial highway-env.
Thanks, but how i can cover the highway-env v1.6? copy or reinstall Heterogeneous_Highway_Env?
Use pip to install, find the package in Anaconda's installation path, and cover the installed highway env with the Heterogeneous_Highway_Env repo
Use pip to install, find the package in Anaconda's installation path, and cover the installed highway env with the Heterogeneous_Highway_Env repo
Thanks very much.
Use pip to install, find the package in Anaconda's installation path, and cover the installed highway env with the Heterogeneous_Highway_Env repo
Hi, I try to copy the content in Heterogeneous_Highway_Env repo INTO highway env v1.6. But there is also the same error :"gym.error.NameNotFound: Environment highway-hetero doesn't exist. "
Please ensure that you are using the correct environment name.
Hi @rohanchandra30 @wuxiyang1996 ! Thanks for your awesome work!
I'm recently working on a project using the iPLAN framework. I can successfully run experiments based on MPE environment and I make sure the Heterogeneous_Highway_Env package is installed. However, I encontered an error when running HighwayEnv-based experiments as below.
Hence, I tried to register this environment using the following scripts.
Then an error relevant to the absence of module named 'highway_env' occurred.
As highway-env has moved from gym to gymnasium, the dependency in Heterogeneous_Highway_Env is different from the latest version of highway-env. So I'm wondering if I can solve this by simply insatll a version of highway-env compatible to your framework(like v1.7 which still uses gym). I would also be grateful if you can offer me the version you are using as I cannot find a suggested one in "requirements.txt" nor in the readme file. Or, would you recommend that I install the latest highway-env package and then overwrite the original files with the files from the Heterogeneous_Highway_Env package?
Looking forward to your reply! Thanks again!