Giter Club home page Giter Club logo

Comments (4)

dmadisetti avatar dmadisetti commented on June 5, 2024

ERROR: Unrecognized option: --experimental_repo_remote_exec

You're using a bad version of Bazel. Try Bazel 4.1.0

from gnn.

rish-16 avatar rish-16 commented on June 5, 2024

Hey, @dmadisetti is absolutely right! It's a bazel build issue but it has a hack-y fix:

Clone the repo locally, go to the package/ directory, and edit your BUILD file.

The Fix

There's the line "//tensorflow_gnn/sampler:sampling_spec_pb2.py" that has to be removed. This Python file was removed in a more recent commit but the bazel build wasn't updated to reflect those changes. Your final file should look like so:

licenses(["notice"])  # Apache 2.0

config_setting(
    name = "windows",
    constraint_values = [
        "@bazel_tools//platforms:windows",
    ],
)

sh_binary(
    name = "move_generated_files",
    srcs = ["move_generated_files.sh"],
    data = [
        "//tensorflow_gnn/proto:examples_pb2.py",
        "//tensorflow_gnn/proto:graph_schema_pb2.py",
        "//tensorflow_gnn/sampler:subgraph_pb2.py",
        "//tensorflow_gnn/tools:sampled_stats_pb2.py",
    ],
)

Once you remove this line (while keeping the others), go ahead and python3 -m pip install . again. Your installation should run smoothly.


Check out #7 for more. Hope this helps!

from gnn.

dmadisetti avatar dmadisetti commented on June 5, 2024

Also see #16
Number #13 also provides a fix

from gnn.

sibonli avatar sibonli commented on June 5, 2024

This should now be fixed with the latest update!

from gnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.