I use Pycharm with Anaconda on Windows10. I try to install dbgym but I need gym[atari]. But when I try to do "pip install gym[atari] I have this error. I already install cmake. Please save my mind.
Command "c:usersvadilappdatalocalprogramspythonpython37-32python.exe -u -c "import
setuptools, tokenize;__file__='C:\Users\vadil\AppData\Local\Temp\pip-install-f36p0gwn
\atari-py\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('r
n', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:Usersvadil
AppDataLocalTemppip-record-2_jv5___install-record.txt --single-version-externally-mana
ged --compile" failed with error code 1 in C:UsersvadilAppDataLocalTemppip-install-f3
6p0gwnatari-py
Sadly atari-py does not support windows to the best of my knowledge. You can try gym-retro though, which does: https://github.com/openai/retro
Try below it worked for me on 3.6 python on windows
[https://stackoverflow.com/questions/42605769/openai-gym-atari-on-windows]
To simply install atari-py wheels (binaries) use this command:
pip install --no-index -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.
Try below it worked for me on 3.6 python on windows
[https://stackoverflow.com/questions/42605769/openai-gym-atari-on-windows]
To simply install atari-py wheels (binaries) use this command:
pip install --no-index -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/893If your got a 'scrambled' output that's most likely because your gym is outdated.
I cannot express my gratitude towards you, I had to spend so much time looking for a solution to this, that I started questioning my sanity. Thank you so much.
pip install git+https://github.com/Kojoley/atari-py.git
Thank you!
It doesn't work for me...
Most helpful comment
Try below it worked for me on 3.6 python on windows
[https://stackoverflow.com/questions/42605769/openai-gym-atari-on-windows]
To simply install atari-py wheels (binaries) use this command:
pip install --no-index -f https://github.com/Kojoley/atari-py/releases atari_pyIf you have any distutils supported compiler you can install from sources:
pip install git+https://github.com/Kojoley/atari-py.gitTest your installation with a simple example:
If your got a 'scrambled' output that's most likely because your gym is outdated.