Skip to content

Cannot build due to "Unable to find package for @org_tensorflow//tensorflow/core..." #22

@Flamefire

Description

@Flamefire

After trying ./configure and bazel build -c opt //tensorflow_networking/mpi:all I get the error

ERROR: Skipping '//tensorflow_networking/mpi:all': while parsing '//tensorflow_networking/mpi:all': error loading package 'tensorflow_networking/mpi': Unable to find package for @org_tensorflow//tensorflow/core:platform/default/build_config.bzl: The repository '@org_tensorflow' could not be resolved.
WARNING: Target pattern parsing failed.
ERROR: while parsing '//tensorflow_networking/mpi:all': error loading package 'tensorflow_networking/mpi': Unable to find package for @org_tensorflow//tensorflow/core:platform/default/build_config.bzl: The repository '@org_tensorflow' could not be resolved.
INFO: Elapsed time: 9.969s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)

Bazel is completely obscure to me so no idea what this is meant to say.

I built TF 2.1 using Bazel right before this. Do I need to place this repo files inside the TF tree? Do I need to tell it about TF?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions