Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

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

Open
happynoom opened this issue Apr 26, 2022 · 2 comments

Comments

@happynoom
Copy link

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

@happynoom happynoom changed the title window 下pip安装失败error C2039: "accumulate": 不是 "std" 的成员 windows OS pip install failed error C2039: "accumulate": not a member of "std" Apr 26, 2022
happynoom added a commit to happynoom/hanabi-learning-environment that referenced this issue Apr 26, 2022
@wise101
Copy link

wise101 commented May 20, 2022

add:

#include

@wise101
Copy link

wise101 commented May 20, 2022

#inlcude <numeric>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants