Install Gymnasium (OpenAI Gym) on Windows | Resolve error 'Failed building wheels for box2d-py'

preview_player
Показать описание
This video resolves a common problem when installing the Box2D Gymnasium package (Bipedal Walker, Car Racing, Lunar Lander):
ERROR: Failed building wheels for box2d-py
ERROR: Microsoft Visual C++ 14.0 or greater is required.

Farama Gymnasium (formerly OpenAI Gym) is a standard API for reinforcement learning and a diverse collection of reference environments. It is not officially supported on Windows, so installation could be troublesome. This video shows you how to get it installed successfully on Windows 10/11.

Resources:

00:00 Intro
00:41 Create new Conda environment
01:44 pip install gymnasium[classic-control] gymnasium[toy-text]
02:16 pip install gymnasium[mujoco]
02:27 pip install gymnasium[atari] gymnasium[accept-rom-license]
02:54 pip install gymnasium[box2d] | conda install swig
04:21 Validate Gymnasium environments
Рекомендации по теме
Комментарии
Автор

I spent many hours finding out how to install Gymnasium. And then I successfully installed it within 10 minutes by watching this video(thank god). Thank you very very much for this tutorial video.

George-icdp
Автор

I searched the whole day because of the box2d error. Now it works. Thank you very much, your video is truly a gift.

maxkinger
Автор

I spent hours trying to install Gymnasium on my windows computer. The I found your video. Thank you so much!!

sherbipierre
Автор

Your video probably saved me a lot of hours trying to fix this, thanks so much!!

ClaudiaMartinez-qtzo
Автор

You saved me! I spent so much time trying to install gymnasium, and finally I can work with it. Thank you soooo much!!!

strila
Автор

Thankyou man i spent 4 days finding out how to install this, but finally with your video i solved my issue. Thanks man

MuhammadRizwan-gmvb
Автор

You saved me, after hours of trying to intall it with your video finally worked!!
Thank you very much!

Internet_of_Tunnel
Автор

Thanks man! Couldn't start without this!

aeffe
Автор

You explained better than my university lecturer!!!

cybrnktube
Автор

Thankyou so much for posting this. I tried all kinds of strategies but this finally got it to work. I am very interested in AI and it's possibilities

TheSudouser
Автор

This video was a great help for me to install Gymnasium. Thank you so much for helping me out.

muhammadzorain
Автор

Wow. I managed to get it all to work. Fantastic tutorial - many thanks

tonyconnolly
Автор

October 9th works for me, thanks man!

victordro
Автор

This is the only one that Hats off to you man!

marchanselthomas
Автор

Thank you so much! This has been a massive help!

alexkeyter
Автор

Thank you. Turns out all I had to do was re-install the C++ development package in Build Tools

Harmxn
Автор

THANK YOU! Only tutorial that actually works :)

JeroenCarlos
Автор

You can spend hours trying to figure it out how to install gymnasium or... just watch this video! Thanks!

beatdesign
Автор

Thank you, your video is really helpful.

walearo
Автор

followed from start to end, but couldn't run any mujoco environment. Everything else is just fine, but running a mujoco environment throws up this error:
```AttributeError: 'mujoco._structs.MjData' object has no attribute 'solver_iter'```

bunnykhatana
welcome to shbcf.ru