Skip to content

Instantly share code, notes, and snippets.

Created November 21, 2018 19:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Installing OpenAI Gym in Windows

Anaconda Configuration

conda create -n tensorflow tensorflow-gpu pip python=3.6
conda install ipython matplotlib cython mkl_random mkl mkl-devel swig

Install OpenAI Gym

Install from source:

pip install -e .

Install Optional Modules

pip install box2d-py
pip install git+

Test Box2D

python gym\envs\box2d\

Test Atari

import gym
env = gym.make('SpaceInvaders-v0')
for _ in range(1000):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment