qgallouedec / panda-gym

Set of robotic environments based on PyBullet physics engine and gymnasium.
MIT License
548 stars 115 forks source link

Compatibility of gym-0.24 branch? #85

Closed selamie closed 8 months ago

selamie commented 8 months ago

Hi there,

Completely understand if this branch is deprecated and not guaranteed to be supported, but I wanted to ask if the gym-0.24 branch is in a working state and compatible with gym-0.24 or earlier versions. I cannot get env = gym.make("PandaReach-v2", render=True) to work for example, and it returns the error AttributeError: 'PandaReachEnv' object has no attribute 'observation_space'

I wondered if the authors might comment on the state of this branch and whether it was intended to be usable with any of the pre-gymnasium versions of gym, or any known issues I could potentially fix myself to use with older gym environments.

Thank you! --Selam

qgallouedec commented 8 months ago

Hi, No this branch is not supposed to work. I think it was a transition branch when we went from gym 0.21 to gym 0.26. Anyway, if possible I suggest you use either gym 0.21 or gymnasium.

selamie commented 8 months ago

Thank you, I was able to download an older version from the "releases" section and got that working instead!