安装GYM openAI win 10/7

时间:2019-04-16 19:20:07

标签: windows install openai-gym

我在这里是新手,因此,按照本指南(https://towardsdatascience.com/how-to-install-openai-gym-in-a-windows-environment-338969e24d30)无法安装打开的AI,编译时始终会出现错误。 尝试了不同版本的anaconda ... python版本...将编译器添加到路径... 任何帮助将不胜感激!

收集git + https://github.com/Kojoley/atari-py.git   将https://github.com/Kojoley/atari-py.git克隆到c:\ users ... \ appdata \ local \ temp \ pip-req-build-ppc4tb1g 已经满足要求:c:\ anaconda3 \ lib \ site-packages中的numpy(来自atari-py == 0.1.7)(1.14.3) 已经满足的要求:c:\ anaconda3 \ lib \ site-packages中的六个(来自atari-py == 0.1.7)(1.11.0) 用于收集包裹的建筑轮子:atari-py   正在运行setup.py bdist_wheel以获取atari-py ...错误 ...   Iatari_py \ ale_interface \ src \ external \ TinyMT -IC:\ Anaconda3 \ include -IC:\ Anaconda3 \ include -c atari_py \ ale_interface \ src \ emucore \ Random.cxx -o build \ temp.win-amd64-3.6 \ Release \ atari_py \ ale_interface \ src \ emucore \ random.o   在atari_py \ ale_interface \ src \ emucore \ Random.cxx包含的文件中:26:0:   atari_py \ ale_interface \ src \ external / TinyMT / tinymt32.h:在函数'void tinymt32_next_state(tinymt32_t *)'中:   atari_py \ ale_interface \ src \ external / TinyMT / tinymt32.h:35:42:错误:未在此范围内声明'UINT32_C'    #定义TINYMT32_MASK UINT32_C(0x7fffffff)                                             ^   atari_py \ ale_interface \ src \ external / TinyMT / tinymt32.h:84:30:注意:在宏'TINYMT32_MASK'的扩展中        x =(随机->状态[0]和TINYMT32_MASK)                                 ^   atari_py \ ale_interface \ src \ external / TinyMT / tinymt32.h:在函数“ float tinymt32_temper_conv(tinymt32_t *)”中:   atari_py \ ale_interface \ src \ external / TinyMT / tinymt32.h:141:29:错误:未在此范围内声明'UINT32_C'           | UINT32_C(0x3f800000);                                ^   atari_py \ ale_interface \ src \ external / TinyMT / tinymt32.h:在函数“ float tinymt32_temper_conv_open(tinymt32_t *)”中:   atari_py \ ale_interface \ src \ external / TinyMT / tinymt32.h:168:29:错误:未在此范围内声明'UINT32_C'           | UINT32_C(0x3f800001);                                ^   错误:命令'C:\ Anaconda3 \ Library \ mingw-w64 \ bin \ gcc.exe'失败,退出状态为1

1 个答案:

答案 0 :(得分:-1)

请按照以下步骤操作:-
获取安装的命令提示符
-只需开始并选择anaconda提示
-输入安装命令

要安装打开的ai Gym-

original = pd.DataFrame({'id':['1','2'],'full_name':['John','Paul Elbert'],'date':
['02-23-2006','09-29-2001']})
other = pd.DataFrame({'id':['1','2'],'full_name':['John','Paul'],'date':['02-25-2018','03-09-2001']})
original = original[['id','full_name']].merge(other[['id','date']],on='id')
print(original)

  id    full_name        date
0  1         John  02-25-2018
1  2  Paul Elbert  03-09-2001

要安装更多依赖项,请遵循http://gym.openai.com/docs/

希望这会有所帮助。