


This was to avoid potentially breaking my main Python installation. Given that OpenAI Gym is not supported in a Windows environment, I thought it best to set it up in its own separate Python environment. Step 2: Install All Necessary Python Packages You will need to scroll about halfway down the page to the “Tools for Visual Studio 2017” section.

If you don’t already have it on your computer, install Microsoft Visual C++ Build Tools for Visual Studio 2017. Step 1: Install Microsoft Visual C++ Build Tools for Visual Studio 2017 These instructions assume you already have Python 3.5+ installed on your computer. However, to run these environments, you will also need to install MuJoCo which will set you back at least $500 for a one year licence (unless you are a student). OpenAI Gym also includes MuJoCo and Robotics environments, which allow the user to run experiments using the MuJoCo physics simulator. Note: these instructions are sufficient to get OpenAI Gym’s Algorithmic, Toy Text, Classic Control, Box2D and Atari environments to work.

In this article, I will provide the instructions for how I got OpenAI Gym up and running on my Windows 10 PC. However, just because OpenAI Gym doesn’t support Windows, doesn’t mean that you can’t get OpenAI Gym to work on a Windows machine. The only downside of the package is that, even though over 80% of the world’s desktop and laptop computers run on a Windows operating system, OpenAI Gym only supports Linux and MacOS. OpenAI Gym is an awesome tool which makes it possible for computer scientists, both amateur and professional, to experiment with a range of different reinforcement learning (RL) algorithms, and even, potentially, to develop their own.īuilt with the aim of becoming a standardized environment and benchmark for RL research, OpenAI Gym is a Python package comprising a selection of RL environments, ranging from simple “toy” environments, to more challenging environments, including simulated robotics environments and Atari video game environments. This is the second in a series of articles about reinforcement learning and OpenAI Gym. A step by step guide for getting OpenAI Gym up and running
