Install GYM openAI win 10/7


I am new here and following this guide ( it is not possible to install the open AI, there is always an error when compiling. Tried different versions of anaconda ... python version ... adding compiler to path... Any help would be appreciated!

Collecting git+ Cloning to c:\users...\appdata\local\temp\pip-req-build-ppc4tb1g Requirement already satisfied: numpy in c:\anaconda3\lib\site-packages (from atari-py==0.1.7) (1.14.3) Requirement already satisfied: six in c:\anaconda3\lib\site-packages (from atari-py==0.1.7) (1.11.0) Building wheels for collected packages: atari-py Running bdist_wheel for atari-py ... error ... Iatari_py\ale_interface\src\external\TinyMT -IC:\Anaconda3\include -IC:\Anaconda3\include -c atari_py\ale_interface\src\emucore\Random.cxx -o build\\Release\atari_py\ale_interface\src\emucore\random.o In file included from atari_py\ale_interface\src\emucore\Random.cxx:26:0: atari_py\ale_interface\src\external/TinyMT/tinymt32.h: In function 'void tinymt32_next_state(tinymt32_t*)': atari_py\ale_interface\src\external/TinyMT/tinymt32.h:35:42: error: 'UINT32_C' was not declared in this scope #define TINYMT32_MASK UINT32_C(0x7fffffff) ^ atari_py\ale_interface\src\external/TinyMT/tinymt32.h:84:30: note: in expansion of macro 'TINYMT32_MASK' x = (random->status[0] & TINYMT32_MASK) ^ atari_py\ale_interface\src\external/TinyMT/tinymt32.h: In function 'float tinymt32_temper_conv(tinymt32_t*)': atari_py\ale_interface\src\external/TinyMT/tinymt32.h:141:29: error: 'UINT32_C' was not declared in this scope | UINT32_C(0x3f800000); ^ atari_py\ale_interface\src\external/TinyMT/tinymt32.h: In function 'float tinymt32_temper_conv_open(tinymt32_t*)': atari_py\ale_interface\src\external/TinyMT/tinymt32.h:168:29: error: 'UINT32_C' was not declared in this scope | UINT32_C(0x3f800001); ^ error: command 'C:\Anaconda3\Library\mingw-w64\bin\gcc.exe' failed with exit status 1

asked on Stack Overflow Apr 16, 2019 by danceflavor • edited Apr 16, 2019 by danceflavor

1 Answer


Please follow the below steps:-
To get the command prompt for installation
-just go to start and choose anaconda prompt
-type your installation command

To install open ai gym-

pip install gym

For more dependencies installation,please follow

Hope this helps.

answered on Stack Overflow Sep 14, 2019 by ambar mishra

User contributions licensed under CC BY-SA 3.0