Farama-Foundation / HighwayEnv

A minimalist environment for decision-making in autonomous driving
https://highway-env.farama.org/
MIT License
2.66k stars 760 forks source link

Stable_vaseline3 issue in version 1.10.1 #618

Open SaeedRahmani opened 2 months ago

SaeedRahmani commented 2 months ago

Hi,

I get the following version incompatibility after installing HigwayEnv 1.10.1:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
stable-baselines3 2.3.2 requires gymnasium<0.30,>=0.28.1, but you have gymnasium 1.0.0a2 which is incompatible.

Are you aware of this and what do you recommend here? Thanks!

eleurent commented 2 months ago

Cc @pseudo-rnd-thoughts any recommendation?

pseudo-rnd-thoughts commented 2 months ago

SB3 has a PR to update https://github.com/DLR-RM/stable-baselines3/pull/1837 however with v1.0 still not released then I don't think they are going to include it until then. You can either use an older version of highwayenv or update to the sb3 PR

SaeedRahmani commented 2 months ago

Thanks for the help. I also raised another issue about NumPy compatibility and would be grateful if you can help me out there. Cheers!