Collecting hanabi_learning_environment
Using cached hanabi_learning_environment-0.0.1.tar.gz (72 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi
Using cached cffi-1.15.0-cp39-cp39-win_amd64.whl (180 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: hanabi_learning_environment
Building wheel for hanabi_learning_environment (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for hanabi_learning_environment (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [237 lines of output]
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.31.31107.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is MSVC 19.31.31107.0
CMake Warning (dev) at C:/Users/tjvir/AppData/Local/Temp/pip-build-env-cejpqzh0/overlay/Lib/site-packages/cmake/data/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake:162 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/Users/tjvir/AppData/Local/Temp/pip-build-env-cejpqzh0/overlay/Lib/site-packages/cmake/data/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake:183 (elseif):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/tjvir/AppData/Local/Temp/pip-install-jogirxyy/hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575/_cmake_test_compile/build
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is MSVC 19.31.31107.0
-- The CXX compiler identification is MSVC 19.31.31107.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
PYTHON_EXECUTABLE
PYTHON_INCLUDE_DIR
PYTHON_LIBRARY
PYTHON_VERSION_STRING
SKBUILD
-- Build files have been written to: C:/Users/tjvir/AppData/Local/Temp/pip-install-jogirxyy/hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575/_skbuild/win-amd64-3.9/cmake-build
[1/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_card.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
[2/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\util.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
[3/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_history_item.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
[4/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_move.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
[5/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\canonical_encoders.cc.obj
FAILED: hanabi_learning_environment/hanabi_lib/CMakeFiles/hanabi.dir/canonical_encoders.cc.obj
C:\PROGRA~1\MICROS~4\2022\COMMUN~1\VC\Tools\MSVC\1431~1.311\bin\Hostx86\x64\cl.exe /nologo /TP -IC:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib -O2 -std=c++11 -fPIC /MD /O2 /Ob2 /DNDEBUG /showIncludes /Fohanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\canonical_encoders.cc.obj /Fdhanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi.pdb /FS -c C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\canonical_encoders.cc
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\canonical_encoders.cc(30): error C2039: 'accumulate': is not a member of 'std'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\unordered_map(24): note: see declaration of 'std'
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\canonical_encoders.cc(30): error C3861: 'accumulate': identifier not found
[6/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_hand.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(669): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(628): note: see reference to function template instantiation 'hanabi_learning_env::HanabiHand::CardKnowledge *std::vector<hanabi_learning_env::HanabiHand::CardKnowledge,std::allocator<hanabi_learning_env::HanabiHand::CardKnowledge>>::_Emplace_reallocate<const _Ty&>(hanabi_learning_env::HanabiHand::CardKnowledge *const ,const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHand::CardKnowledge
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(628): note: see reference to function template instantiation 'hanabi_learning_env::HanabiHand::CardKnowledge *std::vector<hanabi_learning_env::HanabiHand::CardKnowledge,std::allocator<hanabi_learning_env::HanabiHand::CardKnowledge>>::_Emplace_reallocate<const _Ty&>(hanabi_learning_env::HanabiHand::CardKnowledge *const ,const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHand::CardKnowledge
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(637): note: see reference to function template instantiation 'void std::vector<hanabi_learning_env::HanabiHand::CardKnowledge,std::allocator<hanabi_learning_env::HanabiHand::CardKnowledge>>::emplace_back<const _Ty&>(const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHand::CardKnowledge
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(636): note: while compiling class template member function 'void std::vector<hanabi_learning_env::HanabiHand::CardKnowledge,std::allocator<hanabi_learning_env::HanabiHand::CardKnowledge>>::push_back(const _Ty &)'
with
[
_Ty=hanabi_learning_env::HanabiHand::CardKnowledge
]
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\hanabi_hand.cc(84): note: see reference to function template instantiation 'void std::vector<hanabi_learning_env::HanabiHand::CardKnowledge,std::allocator<hanabi_learning_env::HanabiHand::CardKnowledge>>::push_back(const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHand::CardKnowledge
]
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\hanabi_hand.h(121): note: see reference to class template instantiation 'std::vector<hanabi_learning_env::HanabiHand::CardKnowledge,std::allocator<hanabi_learning_env::HanabiHand::CardKnowledge>>' being compiled
[7/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_observation.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(1201): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(1190): note: while compiling class template member function 'void std::vector<hanabi_learning_env::HanabiHand,std::allocator<hanabi_learning_env::HanabiHand>>::_Reallocate_exactly(const unsigned __int64)'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(1273): note: see reference to function template instantiation 'void std::vector<hanabi_learning_env::HanabiHand,std::allocator<hanabi_learning_env::HanabiHand>>::_Reallocate_exactly(const unsigned __int64)' being compiled
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\hanabi_state.h(135): note: see reference to class template instantiation 'std::vector<hanabi_learning_env::HanabiHand,std::allocator<hanabi_learning_env::HanabiHand>>' being compiled
[8/13] Building CXX object hanabi_learning_environment\CMakeFiles\pyhanabi.dir\pyhanabi.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\ostream(770): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\pyhanabi.cc(809): note: see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::operator <<<std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const char *)' being compiled
[9/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_game.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(669): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(628): note: see reference to function template instantiation 'hanabi_learning_env::HanabiMove *std::vector<hanabi_learning_env::HanabiMove,std::allocator<hanabi_learning_env::HanabiMove>>::_Emplace_reallocate<_Ty>(hanabi_learning_env::HanabiMove *const ,_Ty &&)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiMove
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(628): note: see reference to function template instantiation 'hanabi_learning_env::HanabiMove *std::vector<hanabi_learning_env::HanabiMove,std::allocator<hanabi_learning_env::HanabiMove>>::_Emplace_reallocate<_Ty>(hanabi_learning_env::HanabiMove *const ,_Ty &&)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiMove
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(642): note: see reference to function template instantiation 'void std::vector<hanabi_learning_env::HanabiMove,std::allocator<hanabi_learning_env::HanabiMove>>::emplace_back<hanabi_learning_env::HanabiMove>(hanabi_learning_env::HanabiMove &&)' being compiled
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(640): note: while compiling class template member function 'void std::vector<hanabi_learning_env::HanabiMove,std::allocator<hanabi_learning_env::HanabiMove>>::push_back(_Ty &&)'
with
[
_Ty=hanabi_learning_env::HanabiMove
]
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\hanabi_game.cc(62): note: see reference to function template instantiation 'void std::vector<hanabi_learning_env::HanabiMove,std::allocator<hanabi_learning_env::HanabiMove>>::push_back(_Ty &&)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiMove
]
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\hanabi_game.h(100): note: see reference to class template instantiation 'std::vector<hanabi_learning_env::HanabiMove,std::allocator<hanabi_learning_env::HanabiMove>>' being compiled
[10/13] Building CXX object hanabi_learning_environment\hanabi_lib\CMakeFiles\hanabi.dir\hanabi_state.cc.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(669): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(628): note: see reference to function template instantiation 'hanabi_learning_env::HanabiHistoryItem *std::vector<hanabi_learning_env::HanabiHistoryItem,std::allocator<hanabi_learning_env::HanabiHistoryItem>>::_Emplace_reallocate<const _Ty&>(hanabi_learning_env::HanabiHistoryItem *const ,const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHistoryItem
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(628): note: see reference to function template instantiation 'hanabi_learning_env::HanabiHistoryItem *std::vector<hanabi_learning_env::HanabiHistoryItem,std::allocator<hanabi_learning_env::HanabiHistoryItem>>::_Emplace_reallocate<const _Ty&>(hanabi_learning_env::HanabiHistoryItem *const ,const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHistoryItem
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(637): note: see reference to function template instantiation 'void std::vector<hanabi_learning_env::HanabiHistoryItem,std::allocator<hanabi_learning_env::HanabiHistoryItem>>::emplace_back<const _Ty&>(const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHistoryItem
]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(636): note: while compiling class template member function 'void std::vector<hanabi_learning_env::HanabiHistoryItem,std::allocator<hanabi_learning_env::HanabiHistoryItem>>::push_back(const _Ty &)'
with
[
_Ty=hanabi_learning_env::HanabiHistoryItem
]
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\hanabi_state.cc(273): note: see reference to function template instantiation 'void std::vector<hanabi_learning_env::HanabiHistoryItem,std::allocator<hanabi_learning_env::HanabiHistoryItem>>::push_back(const _Ty &)' being compiled
with
[
_Ty=hanabi_learning_env::HanabiHistoryItem
]
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\hanabi_learning_environment\hanabi_lib\hanabi_state.h(136): note: see reference to class template instantiation 'std::vector<hanabi_learning_env::HanabiHistoryItem,std::allocator<hanabi_learning_env::HanabiHistoryItem>>' being compiled
ninja: build stopped: subcommand failed.
File "C:\Users\tjvir\AppData\Local\Temp\pip-build-env-cejpqzh0\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 645, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "C:\Users\tjvir\AppData\Local\Temp\pip-build-env-cejpqzh0\overlay\Lib\site-packages\skbuild\cmaker.py", line 660, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "C:\Users\tjvir\AppData\Local\Temp\pip-build-env-cejpqzh0\overlay\Lib\site-packages\skbuild\cmaker.py", line 684, in make_impl
raise SKBuildError(
--------------------------------------------------------------------------------
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\_skbuild\win-amd64-3.9\cmake-build
Command:
cmake 'C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\_skbuild\win-amd64-3.9\cmake-install' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\tjvir\.conda\envs\zoo_env\python.exe' -DPYTHON_VERSION_STRING:STRING=3.9.12 '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\tjvir\.conda\envs\zoo_env\Include' '-DPYTHON_LIBRARY:FILEPATH=C:\Users\tjvir\.conda\envs\zoo_env\libs\python39.lib' -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\tjvir\AppData\Local\Temp\pip-build-env-cejpqzh0\overlay\Lib\site-packages\skbuild\resources\cmake' '-DCMAKE_MAKE_PROGRAM:FILEPATH=C:\Users\tjvir\AppData\Local\Temp\pip-build-env-cejpqzh0\overlay\Lib\site-packages\ninja\data\bin\ninja' -DCMAKE_BUILD_TYPE:STRING=Release
Traceback (most recent call last):
An error occurred while building with CMake.
Command:
cmake --build . --target install --config Release --
Install target:
install
Source directory:
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575
Working directory:
C:\Users\tjvir\AppData\Local\Temp\pip-install-jogirxyy\hanabi-learning-environment_466c7afa87de4453bf8fc055bdc4e575\_skbuild\win-amd64-3.9\cmake-build
Please check the install target is valid and see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hanabi_learning_environment
Failed to build hanabi_learning_environment
ERROR: Could not build wheels for hanabi_learning_environment, which is required to install pyproject.toml-based projects