diplomacy_cicero
diplomacy_cicero copied to clipboard
Error when install postman
Error occurred when I install postman by pip install -e ./thirdparty/github/fairinternal/postman/postman/
Do you know how to solve it?
The report is:
Obtaining file:///home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: torch>=1.4.0 in ./env/lib/python3.7/site-packages (from postman==0.2.2) (1.7.1) Requirement already satisfied: typing_extensions in ./env/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (4.3.0) Requirement already satisfied: numpy in ./env/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (1.20.3) Installing collected packages: postman Running setup.py develop for postman error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [87 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
git submodule update --init --recursive
mkdir -p cmake_build/postman && cd cmake_build/postman && cmake -DCMAKE_BUILD_TYPE=Release ../../postman -DPYTHON_EXECUTABLE=/home/XXX/diplomacy_cicero/env/bin/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=../../postman/python/postman
-- pybind11 v2.3.dev1
-- No CMAKE_CXX_STANDARD set, assuming 11
--
-- 3.11.2.0
CMake Deprecation Warning at /home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/grpc/third_party/zlib/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.
-- Caffe2: CUDA detected: 11.1
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 11.1
-- Could NOT find CUDNN (missing: CUDNN_LIBRARY_PATH CUDNN_INCLUDE_PATH)
CMake Warning at /home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:109 (message):
Caffe2: Cannot find cuDNN library. Turning the option off
Call Stack (most recent call first):
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
CMakeLists.txt:48 (find_package)
-- Added CUDA NVCC flags for: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70
CMake Error at /home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:96 (message):
Your installed Caffe2 version uses cuDNN but I cannot find the cuDNN
libraries. Please set the proper cuDNN prefixes and / or install cuDNN.
Call Stack (most recent call first):
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
CMakeLists.txt:48 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman/CMakeFiles/CMakeOutput.log".
See also "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman/CMakeFiles/CMakeError.log".
make: *** [Makefile:9: cmake_build/postman/Makefile] Error 1
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 38, in <module>
main()
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 33, in main
test_suite="setup.test_suite",
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 20, in run
subprocess.check_call("make develop".split(), cwd="..")
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'develop']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully. │ exit code: 1 ╰─> [87 lines of output] running develop running egg_info writing python/postman.egg-info/PKG-INFO writing dependency_links to python/postman.egg-info/dependency_links.txt writing requirements to python/postman.egg-info/requires.txt writing top-level names to python/postman.egg-info/top_level.txt reading manifest file 'python/postman.egg-info/SOURCES.txt' writing manifest file 'python/postman.egg-info/SOURCES.txt' running build_ext git submodule update --init --recursive mkdir -p cmake_build/postman && cd cmake_build/postman && cmake -DCMAKE_BUILD_TYPE=Release ../../postman -DPYTHON_EXECUTABLE=/home/XXX/diplomacy_cicero/env/bin/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=../../postman/python/postman -- pybind11 v2.3.dev1 -- No CMAKE_CXX_STANDARD set, assuming 11 -- -- 3.11.2.0 CMake Deprecation Warning at /home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/third_party/grpc/third_party/zlib/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.
-- Caffe2: CUDA detected: 11.1
-- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc
-- Caffe2: CUDA toolkit directory: /usr/local/cuda
-- Caffe2: Header version is: 11.1
-- Could NOT find CUDNN (missing: CUDNN_LIBRARY_PATH CUDNN_INCLUDE_PATH)
CMake Warning at /home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:109 (message):
Caffe2: Cannot find cuDNN library. Turning the option off
Call Stack (most recent call first):
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
CMakeLists.txt:48 (find_package)
-- Added CUDA NVCC flags for: -gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70
CMake Error at /home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:96 (message):
Your installed Caffe2 version uses cuDNN but I cannot find the cuDNN
libraries. Please set the proper cuDNN prefixes and / or install cuDNN.
Call Stack (most recent call first):
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
CMakeLists.txt:48 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman/CMakeFiles/CMakeOutput.log".
See also "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman/CMakeFiles/CMakeError.log".
make: *** [Makefile:9: cmake_build/postman/Makefile] Error 1
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 38, in <module>
main()
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 33, in main
test_suite="setup.test_suite",
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 20, in run
subprocess.check_call("make develop".split(), cwd="..")
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'develop']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Hi, I had the same problem. It seems that the problem is with the installation of Pytorch. Try running the Pytorch installation again, but with the following command:
pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
After that, try installing postman again, it should work.
Solution got from https://github.com/pytorch/pytorch/issues/51080
Thanks, @JovanNj, but it still reports same error.
The previous error report is solved by loading cuDNN module load cudnn
.
But new error occurs:
Obtaining file:///home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: torch>=1.4.0 in ./env/lib/python3.7/site-packages (from postman==0.2.2) (1.7.1+cu110) Requirement already satisfied: typing-extensions in ./env/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (4.3.0) Requirement already satisfied: numpy in ./env/lib/python3.7/site-packages (from torch>=1.4.0->postman==0.2.2) (1.20.3) Installing collected packages: postman Running setup.py develop for postman error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [191 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
make -C cmake_build/postman -j
make[1]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target absl_spinlock_wait
[ 0%] Built target absl_log_severity
[ 0%] Built target absl_dynamic_annotations
[ 0%] Built target absl_int128
[ 1%] Built target zlibstatic
[ 1%] Built target address_sorting
[ 1%] Built target upb
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 7%] Built target c-ares
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target ssl
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target gtest
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target absl_raw_logging_internal
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target gtest_main
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 32%] Built target crypto
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 39%] Built target libprotobuf
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 39%] Built target absl_bad_optional_access
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 41%] Built target absl_throw_delegate
[ 41%] Built target absl_base
[ 41%] Built target absl_strings_internal
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 43%] Built target absl_strings
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 43%] Built target absl_str_format_internal
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 50%] Built target libprotoc
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target gpr
[ 54%] Built target protoc
[ 54%] Built target grpc_plugin_support
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target grpc_cpp_plugin
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 90%] Built target grpc
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 96%] Built target grpc++
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
Consolidate compiler generated dependencies of target postman
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
[ 96%] Building CXX object CMakeFiles/postman.dir/cc/serialization.cc.o
In file included from /home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/serialization.h:25,
from /home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/serialization.cc:7:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘nest::Nest<T> nest::Nest<T>::pack_as(InputIt, InputIt) const’:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:162:18: error: ‘range_error’ is not a member of ‘std’
162 | throw std::range_error("Nest didn't exhaust sequence");
| ^~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:172:35: error: ‘out_of_range’ is not a member of ‘std’
172 | throw std::out_of_range("Too few elements in sequence");
| ^~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In static member function ‘static nest::Nest<std::vector<T> > nest::Nest<T>::zip(const std::vector<nest::Nest<T> >&)’:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:197:18: error: ‘invalid_argument’ is not a member of ‘std’
197 | throw std::invalid_argument("Expected at least one nest.");
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:223:28: error: ‘invalid_argument’ is not a member of ‘std’
223 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:240:28: error: ‘invalid_argument’ is not a member of ‘std’
240 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:249:30: error: ‘invalid_argument’ is not a member of ‘std’
249 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:259:26: error: ‘invalid_argument’ is not a member of ‘std’
259 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:290:28: error: ‘invalid_argument’ is not a member of ‘std’
290 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:304:28: error: ‘invalid_argument’ is not a member of ‘std’
304 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:312:30: error: ‘invalid_argument’ is not a member of ‘std’
312 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:320:26: error: ‘invalid_argument’ is not a member of ‘std’
320 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/postman.dir/build.make:131: CMakeFiles/postman.dir/cc/serialization.cc.o] Error 1
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:836: CMakeFiles/postman.dir/all] Error 2
make[2]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make: *** [Makefile:12: compile] Error 2
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 38, in <module>
main()
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 33, in main
test_suite="setup.test_suite",
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/setup.py", line 20, in run
subprocess.check_call("make develop".split(), cwd="..")
File "/home/XXX/diplomacy_cicero/env/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', 'develop']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [191 lines of output]
running develop
running egg_info
writing python/postman.egg-info/PKG-INFO
writing dependency_links to python/postman.egg-info/dependency_links.txt
writing requirements to python/postman.egg-info/requires.txt
writing top-level names to python/postman.egg-info/top_level.txt
reading manifest file 'python/postman.egg-info/SOURCES.txt'
writing manifest file 'python/postman.egg-info/SOURCES.txt'
running build_ext
make -C cmake_build/postman -j
make[1]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 0%] Built target absl_spinlock_wait
[ 0%] Built target absl_log_severity
[ 0%] Built target absl_dynamic_annotations
[ 0%] Built target absl_int128
[ 1%] Built target zlibstatic
[ 1%] Built target address_sorting
[ 1%] Built target upb
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 7%] Built target c-ares
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target ssl
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target gtest
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target absl_raw_logging_internal
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 9%] Built target gtest_main
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 32%] Built target crypto
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 39%] Built target libprotobuf
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 39%] Built target absl_bad_optional_access
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 41%] Built target absl_throw_delegate
[ 41%] Built target absl_base
[ 41%] Built target absl_strings_internal
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 43%] Built target absl_strings
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 43%] Built target absl_str_format_internal
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 50%] Built target libprotoc
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target gpr
[ 54%] Built target protoc
[ 54%] Built target grpc_plugin_support
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 54%] Built target grpc_cpp_plugin
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 90%] Built target grpc
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
[ 96%] Built target grpc++
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
Consolidate compiler generated dependencies of target postman
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[3]: Entering directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
CMakeFiles/postman.dir/build.make:83: warning: overriding recipe for target '.'
CMakeFiles/postman.dir/build.make:77: warning: ignoring old recipe for target '.'
[ 96%] Building CXX object CMakeFiles/postman.dir/cc/serialization.cc.o
In file included from /home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/include/postman/serialization.h:25,
from /home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/cc/serialization.cc:7:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In member function ‘nest::Nest<T> nest::Nest<T>::pack_as(InputIt, InputIt) const’:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:162:18: error: ‘range_error’ is not a member of ‘std’
162 | throw std::range_error("Nest didn't exhaust sequence");
| ^~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:172:35: error: ‘out_of_range’ is not a member of ‘std’
172 | throw std::out_of_range("Too few elements in sequence");
| ^~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In static member function ‘static nest::Nest<std::vector<T> > nest::Nest<T>::zip(const std::vector<nest::Nest<T> >&)’:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:197:18: error: ‘invalid_argument’ is not a member of ‘std’
197 | throw std::invalid_argument("Expected at least one nest.");
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:223:28: error: ‘invalid_argument’ is not a member of ‘std’
223 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:240:28: error: ‘invalid_argument’ is not a member of ‘std’
240 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:249:30: error: ‘invalid_argument’ is not a member of ‘std’
249 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:259:26: error: ‘invalid_argument’ is not a member of ‘std’
259 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:290:28: error: ‘invalid_argument’ is not a member of ‘std’
290 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:304:28: error: ‘invalid_argument’ is not a member of ‘std’
304 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:312:30: error: ‘invalid_argument’ is not a member of ‘std’
312 | throw std::invalid_argument(
| ^~~~~~~~~~~~~~~~
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h: In lambda function:
/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/postman/../nest/nest/nest.h:320:26: error: ‘invalid_argument’ is not a member of ‘std’
320 | throw std::invalid_argument("nests don't match");
| ^~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/postman.dir/build.make:131: CMakeFiles/postman.dir/cc/serialization.cc.o] Error 1
make[3]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[2]: *** [CMakeFiles/Makefile2:836: CMakeFiles/postman.dir/all] Error 2
make[2]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make[1]: *** [Makefile:146: all] Error 2
make[1]: Leaving directory '/home/XXX/diplomacy_cicero/thirdparty/github/fairinternal/postman/cmake_build/postman'
make: *** [Makefile:12: compile] Error 2
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
/home/XXX/diplomacy_cicero/env/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip.
I had the same issue, where it said that setuptools was deprecated. I solved it by downgrading to an older version (see https://answers.ros.org/question/396439/setuptoolsdeprecationwarning-setuppy-install-is-deprecated-use-build-and-pip-and-other-standards-based-tools/).
Closing since it sounds like @WilliamsToTo identified loading cuDNN as fix for first bug, and @rkulskis found a solution to the second bug involving setuptools version. Thank you both!