/home/owner/tensorflow/tensorflow-2.2.2/tensorflow/tools/pip_package/BUILD:62:1 C++ compilation of rule '//tensorflow/python:bfloat16_lib' failed (Exit 1)
找到的方法将numpy降级为1.18以下,降级后仍然报错。
/home/owner/tensorflow/tensorflow-2.2.2/tensorflow/tools/pip_package/BUILD:62:1 C++ compilation of rule '//tensorflow/python:bfloat16_lib' failed (Exit 1)
找到的方法将numpy降级为1.18以下,降级后仍然报错。
TF-1.15 & TF-2.0:
pip install 'numpy<1.19.0'
pip install -U pip six wheel mock
pip install future
pip install keras_applications==1.0.8 --no-deps
pip install keras_preprocessing==1.1.2 --no-deps
pip install pandas
bazel version: bazel-0.26.1-installer-linux-x86_64.sh
如有帮助,请点采纳。