Tensorflow2.11  build error   /root/tensorflow/tensorflow/lite/python/BUILD:68:10 Middleman _middlemen/tensorflow_Slite_Spython_Stflite_Uconvert-runfiles failed:
use the same setting in the centos8 can build tensorflow2.11 successfully.  but i want use the version with centos7. @south-ocean,
On CentOS7 while installing the python3 package, it might give the Python 3.6 interpreter which was not supported for the tensorflow 2.11. Please take a look at the official doc link for the [reference](https://www.tensorflow.org/install/source#gpu) and try to install the tf v2.11 with a compatible version as mentioned.
![Screenshot 2023-03-13 1 36 18 PM](https://user-images.githubusercontent.com/81610181/224642202-fc3e0e06-2605-41ee-8610-91f5df980949.png)

And kindly try this command and [comment](https://github.com/tensorflow/tensorflow/issues/56665) from the [contributor](https://github.com/tensorflow/tensorflow/issues/44692#issuecomment-932906041):

`bazel build --config=opt --per_file_copt=//tensorflow/.*\.cc@-g,-O0 tensorflow/tools/pip_package:build_pip_package`

Thank you!


 Thank you  for your reply, actually, i have  installed  the python3.7 and upgraded the gcc to 9.4, it also meet the error. @south-ocean,
Apologies for the delay. And kindly try this command and https://github.com/tensorflow/tensorflow/issues/56665 from the https://github.com/tensorflow/tensorflow/issues/44692#issuecomment-932906041  and also try install tensorflow with python v3.8.

**bazel build --config=opt --per_file_copt=//tensorflow/.*\.cc@-g,-O0 tensorflow/tools/pip_package:build_pip_package**

Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59940">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59940">No</a>

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Bug

### Have you reproduced the bug with TF nightly?

Yes

### Source

source

### Tensorflow Version

tf2.11

### Custom Code

Yes

### OS Platform and Distribution

centos7.6

### Mobile device

_No response_

### Python version

python3.7.12

### Bazel version

5.0.0

### GCC/Compiler version

9.4.0

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

```shell
A bug happened!
```


### Standalone code to reproduce the issue

```shell
# Configuration: 97a3a0fa2bd0b7dd271cfd175d4f2e3372d12545074b079e511143f09e7a2e7c
# Execution platform: @local_execution_config_platform//:platform
2023-03-09 05:22:40.181096: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 62, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZNK10tensorflow8OpKernel11TraceStringERKNS_15OpKernelContextEb

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 22, in <module>
    from tensorflow.python.tools.api.generator import doc_srcs
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/__init__.py", line 36, in <module>
    from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 78, in <module>
    f'{traceback.format_exc()}'
ImportError: Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 62, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZNK10tensorflow8OpKernel11TraceStringERKNS_15OpKernelContextEb


Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
ERROR: /root/tensorflow/tensorflow/lite/python/BUILD:68:10 Middleman _middlemen/tensorflow_Slite_Spython_Stflite_Uconvert-runfiles failed: (Exit 1): bash failed: error executing command
  (cd /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow && \
  exec env - \
```


### Relevant log output

```shell
/bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2 --root_init_template=tensorflow/api_template.__init__.py --apidir=bazel-out/k8-opt/bin/tensorflow_api/v2/ --apiname=tensorflow --apiversion=2  --compat_apiversion=1 --compat_apiversion=2  --compat_init_template=tensorflow/compat_template_v1.__init__.py --compat_init_template=tensorflow/compat_template.__init__.py --packages=tensorflow.python,tensorflow.dtensor.python.accelerator_util,tensorflow.dtensor.python.api,tensorflow.dtensor.python.config,tensorflow.dtensor.python.d_checkpoint,tensorflow.dtensor.python.d_variable,tensorflow.dtensor.python.input_util,tensorflow.dtensor.python.layout,tensorflow.dtensor.python.mesh_util,tensorflow.dtensor.python.tpu_util,tensorflow.dtensor.python.save_restore,tensorflow.lite.python.analyzer,tensorflow.lite.python.lite,tensorflow.lite.python.authoring.authoring,tensorflow.python.modules_with_exports --output_package=tensorflow._api.v2 --use_relative_imports=True --loading=static --loading=default bazel-out/k8-opt/bin/tensorflow/_api/v2/v2.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/autograph/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/decorator/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/dispatch/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/distribute/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/distribute/combinations/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/distribute/interim/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/distribute/multi_process_runner/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/eager_context/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/feature_column/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/function/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/graph_util/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/mixed_precision/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/monitoring/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/nest/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/smart_cond/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/test/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/test/combinations/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/tf2/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/train/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/types/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/saved_model/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/saved_model/load/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__internal__/tracking/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/__operators__/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/audio/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/autograph/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/autograph/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/autodiff/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/bitwise/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/config/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/config/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/config/optimizer/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/config/threading/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/data/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/data/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/data/experimental/service/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/debugging/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/debugging/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/distribute/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/distribute/cluster_resolver/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/distribute/coordinator/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/distribute/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/distribute/experimental/coordinator/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/distribute/experimental/partitioners/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/distribute/experimental/rpc/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/dtypes/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/errors/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/experimental/dtensor/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/experimental/numpy/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/experimental/numpy/random/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/experimental/tensorrt/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/experimental/dlpack/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/feature_column/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/io/gfile/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/graph_util/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/image/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/io/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/queue/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/linalg/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/linalg/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lite/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lite/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lite/experimental/authoring/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lite/experimental/microfrontend/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lite/experimental/microfrontend/python/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lite/experimental/microfrontend/python/ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lookup/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/lookup/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/math/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/math/special/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/mlir/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/mlir/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/nest/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/nn/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/nn/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/profiler/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/profiler/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/profiler/experimental/client/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/profiler/experimental/server/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/quantization/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/ragged/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/random/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/random/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/raw_ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/saved_model/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/saved_model/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/sets/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/signal/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/sparse/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/strings/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/summary/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/summary/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/sysconfig/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/test/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/tpu/experimental/embedding/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/tpu/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/tpu/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/train/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/train/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/types/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/types/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/types/experimental/distributed/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/version/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/xla/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/xla/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/autograph/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/decorator/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/dispatch/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/distribute/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/distribute/combinations/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/distribute/interim/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/distribute/multi_process_runner/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/eager_context/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/feature_column/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/function/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/graph_util/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/mixed_precision/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/monitoring/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/nest/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/smart_cond/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/test/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/test/combinations/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/tf2/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/train/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/types/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/saved_model/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/saved_model/load/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__internal__/tracking/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/__operators__/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/audio/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/autograph/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/autograph/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/autodiff/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/bitwise/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/compat/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/config/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/config/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/config/optimizer/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/config/threading/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/data/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/data/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/data/experimental/service/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/debugging/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/debugging/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/distribute/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/distribute/cluster_resolver/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/distribute/coordinator/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/distribute/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/distribute/experimental/coordinator/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/distribute/experimental/partitioners/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/distribute/experimental/rpc/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/dtypes/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/errors/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/experimental/dtensor/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/experimental/numpy/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/experimental/numpy/random/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/experimental/tensorrt/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/experimental/dlpack/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/feature_column/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/io/gfile/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/graph_util/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/image/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/io/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/queue/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/linalg/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/linalg/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lite/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lite/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lite/experimental/authoring/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lite/experimental/microfrontend/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lite/experimental/microfrontend/python/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lite/experimental/microfrontend/python/ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lookup/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/lookup/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/math/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/math/special/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/mlir/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/mlir/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/nest/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/nn/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/nn/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/profiler/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/profiler/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/profiler/experimental/client/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/profiler/experimental/server/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/quantization/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/ragged/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/random/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/random/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/raw_ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/saved_model/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/saved_model/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/sets/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/signal/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/sparse/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/strings/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/summary/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/summary/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/sysconfig/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/test/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/tpu/experimental/embedding/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/tpu/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/tpu/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/train/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/train/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/types/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/types/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/types/experimental/distributed/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/version/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/xla/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/xla/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/app/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/audio/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/autograph/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/autograph/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/bitwise/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/compat/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/config/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/config/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/config/optimizer/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/config/threading/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/data/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/data/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/data/experimental/service/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/debugging/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/debugging/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/distribute/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/distribute/cluster_resolver/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/distribute/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/distributions/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/dtypes/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/errors/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/feature_column/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/gfile/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/io/gfile/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/graph_util/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/image/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/io/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/queue/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/initializers/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/layers/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/layers/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/linalg/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/linalg/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lite/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lite/constants/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lite/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lite/experimental/authoring/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lite/experimental/microfrontend/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lite/experimental/microfrontend/python/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lite/experimental/microfrontend/python/ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/logging/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lookup/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/lookup/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/losses/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/manip/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/math/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/math/special/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/metrics/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/mixed_precision/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/mixed_precision/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/mlir/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/mlir/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/nest/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/nn/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/nn/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/nn/rnn_cell/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/profiler/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/python_io/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/quantization/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/ragged/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/random/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/random/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/raw_ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/resource_loader/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/strings/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/builder/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/constants/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/loader/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/main_op/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/signature_constants/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/signature_def_utils/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/tag_constants/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/saved_model/utils/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/sets/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/signal/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/sparse/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/spectral/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/summary/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/sysconfig/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/test/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/tpu/experimental/embedding/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/tpu/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/tpu/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/train/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/train/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/train/queue_runner/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/types/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/types/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/user_ops/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/version/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/xla/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/xla/experimental/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/compat/v1/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/compat/v2/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/compat/v1/compat/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v1/compat/v2/compat/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/compat/v1/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/compat/v2/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/compat/v1/compat/__init__.py bazel-out/k8-opt/bin/tensorflow/_api/v2/compat/v2/compat/v2/compat/__init__.py')
# Configuration: 97a3a0fa2bd0b7dd271cfd175d4f2e3372d12545074b079e511143f09e7a2e7c
# Execution platform: @local_execution_config_platform//:platform
2023-03-09 05:22:40.181096: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 62, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZNK10tensorflow8OpKernel11TraceStringERKNS_15OpKernelContextEb

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 22, in <module>
    from tensorflow.python.tools.api.generator import doc_srcs
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/__init__.py", line 36, in <module>
    from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 78, in <module>
    f'{traceback.format_exc()}'
ImportError: Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 62, in <module>
    from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/create_tensorflow.python_api_tf_python_api_gen_v2.runfiles/org_tensorflow/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZNK10tensorflow8OpKernel11TraceStringERKNS_15OpKernelContextEb


Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
ERROR: /root/tensorflow/tensorflow/lite/python/BUILD:68:10 Middleman _middlemen/tensorflow_Slite_Spython_Stflite_Uconvert-runfiles failed: (Exit 1): bash failed: error executing command
  (cd /root/.cache/bazel/_bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow && \
```
</details>