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

Описание к видео Install Gymnasium (OpenAI Gym) on Windows | Resolve error "Failed building wheels for box2d-py"

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: Command swig.exe failed
ERROR: Microsoft Visual C++ 14.0 or greater is required.

If this video didn't work for you, you could try installing onto Windows Subsystem for Linux:    • How to Install Gymnasium Box2D on Win...  

Buy Me a Coffee: https://www.buymeacoffee.com/johnnycode
Reinforcement Learning Tutorials:    • Gymnasium (Deep) Reinforcement Learni...  

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:
https://gymnasium.farama.org/
https://github.com/Farama-Foundation/...

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

Комментарии

Информация по комментариям в разработке