Skip to content

no such attribute 'paropts' in 'py_binary' rule #3819

@cybertk

Description

@cybertk

Failed to build download_and_convert_imagenet with Bazel

Error log

$ bazel build :download_and_convert_imagenet
ERROR: /root/projects/models/research/slim/BUILD:697:1: //:train_image_classifier: no such attribute 'paropts' in 'py_binary' rule
ERROR: /root/projects/models/research/slim/BUILD:721:1: //:export_inference_graph: no such attribute 'paropts' in 'py_binary' rule
ERROR: error loading package '': Package '' contains errors
INFO: Elapsed time: 0.337s
FAILED: Build did NOT complete successfully (0 packages loaded)

Bazel version

$ bazel version
Build label: 0.11.1
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue May 14 07:48:23 +50148 (1520362424903)
Build timestamp: 1520362424903
Build timestamp as int: 1520362424903

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