Box2D is not installed, run `pip install gymnasium[box2d]`

i was loading the environment
env=gymnasium.make('LunarLander-v2')

i don’t understand this error when I’m trying to install the pip install gymnasium[box2d]


1 Like

Incorrect course selection. Your issue seems related to mlop specialisation

no its correct. this course is the machine learning specialization → unsupervised learning → RL

1 Like

@nathanael, the course doesn’t use “gymnasium”. It uses “gym”, which is no longer supported.

For installing the assignment on other platforms, there is another thread in the forum for this course which discusses how to adapt the notebook to use gymnasium.

1 Like

can you share the link to the thread please @TMosh

1 Like

I recommend you type the word “gymnasium” into the forum search tool.

2 Likes

thanks found it @TMosh

1 Like