I'm having issues installing OpenAI Gym Atari environment on Windows 10. I have successfully installed and used OpenAI Gym already on the same system.
It keeps tripping up when trying to run a makefile.
I am running the command pip install gym[atari]
Here is the error:
and here is what I currently have on my system...cmake
and make
are both clearly installed.
A while ago I have created a fork with Windows support (devs of original repository do not merge or even comment PRs and issues). It does not require neither MSYS/Cygwin nor CMake or Zlib.
To simply install atari-py
wheels (binaries) use this command:
pip install -f https://github.com/Kojoley/atari-py/releases atari_py
If you have any distutils
supported compiler you can install from sources:
pip install git+https://github.com/Kojoley/atari-py.git
Test your installation with a simple example:
import gym
env = gym.make('SpaceInvaders-v0')
env.reset()
for _ in range(1000):
env.step(env.action_space.sample())
env.render('human')
env.close() # https://github.com/openai/gym/issues/893
If your got a 'scrambled' output that's most likely because your gym
is outdated.