google-deepmind / hanabi-learning-environment

hanabi_learning_environment is a research platform for Hanabi experiments.
Apache License 2.0
645 stars 149 forks source link

windows OS pip install failed error C2039: "accumulate": not a member of "std" #46

Open happynoom opened 2 years ago

happynoom commented 2 years ago

C:\Users\happy\AppData\Local\Temp\pip-req-build-5pbxa9vm\hanabi_learning_environment\hanabi_lib\canonical_encoders.cc(30): error C2039: "accumulate": 不是 "std" 的成\x98 D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\unordered_map(24): note: 参\xa7\x80std”的声明 C:\Users\happy\AppData\Local\Temp\pip-req-build-5pbxa9vm\hanabi_learning_environment\hanabi_lib\canonical_encoders.cc(30): error C3861: “accumulate\x9d: 找不到标▒\xac\xa6 [6/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_hand.cc.obj

wise101 commented 2 years ago

add:

include

wise101 commented 2 years ago

#inlcude <numeric>