monolith
monolith copied to clipboard
What is the version of python and g++
Dear Author,
I'm running into errors while test building this command line: bazel run //monolith/native_training:demo --output_filter=IGNORE_LOGS
. The error message looks like the following. I suspect this is related to python and c/c++ version diff. Could you please kindly share the versions that you are currently using for python and g++? Many thanks!
/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/BUILD.bazel:5:1: C++ compilation of rule '@com_github_grpc_grpc//src/python/grpcio/grpc/_cython:cygrpc.so' failed (Exit 1)
bazel-out/k8-opt/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'PyObject* __pyx_f_4grpc_7_cython_6cygrpc__initialize()':
bazel-out/k8-opt/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:81271:29: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
81271 | (void)(PyEval_InitThreads());
| ^
In file included from bazel-out/k8-opt/bin/external/local_config_python/python_include/Python.h:145,
from bazel-out/k8-opt/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:4:
bazel-out/k8-opt/bin/external/local_config_python/python_include/ceval.h:130:37: note: declared here