Skip to content

Build from source on Windows failing  #60083

@AIML-ankit

Description

@AIML-ankit

1. System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows
  • TensorFlow installation (pip package or built from source): Build from source on Windows
  • TensorFlow library (version, if pip package or github SHA, if built from source): 2.12

bazel version - 5.3
python version - 3.9

i am following below link -

https://www.tensorflow.org/install/source_windows

command that I am running -
bazel build //tensorflow/tools/pip_package:build_pip_package

Error message -

Repository rule _tf_http_archive defined at:
C:/users/anmaheshwari/downloads/tf/tensorflow-2.12.0/tensorflow-2.12.0/third_party/repo.bzl:89:35: in
ERROR: C:/users/anmaheshwari/downloads/tf/tensorflow-2.12.0/tensorflow-2.12.0/tensorflow/core/BUILD:511:11: //tensorflow/core:ops depends on //tensorflow/compiler/mlir/tensorflow:mlir_passthrough_op in repository @ which failed to fetch. no such package '@llvm-project//mlir': Failed to find python3 binary
ERROR: Analysis of target '//tensorflow/lite/delegates/flex:tensorflowlite_flex' failed; build aborted:
INFO: Elapsed time: 297.423s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (87 packages loaded, 331 targets configured)
currently loading: tensorflow/lite/schema ... (4 packages)
Fetching @flatbuffers; fetching
Fetching ...ri/grgp23z7/external/flatbuffers; Extracting C:/users/anmaheshwari/_bazel_anmaheshwari/grgp23z7/external/flatbuffers/temp5290822748239123909/v2.0.6.tar.gz
Fetching @NSYNC; fetching
Fetching https://storage.googleapis.com/mirror.tensorflow.org/github.com/abseil/abseil-cpp/archive/273292d1cfc0a94a65082ee350509af1d113344d.tar.gz

C:\Users\Anmaheshwari\Downloads\TF\tensorflow-2.12.0\tensorflow-2.12.0>

Metadata

Metadata

Assignees

Labels

TF 2.12For issues related to Tensorflow 2.12TFLiteConverterFor issues related to TFLite converterstaleThis label marks the issue/pr stale - to be closed automatically if no activitystat:awaiting responseStatus - Awaiting response from authortype:build/installBuild and install issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions