We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this in my WORKSPACE:
###################### # PYTHON SUPPORT ###################### rules_python_version = "0.7.0" http_archive( name = "rules_python", sha256 = "15f84594af9da06750ceb878abbf129241421e3abbd6e36893041188db67f2fb", strip_prefix = "rules_python-0.7.0", url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.7.0.tar.gz", ) load("@rules_python//python:repositories.bzl", "python_register_toolchains") python_register_toolchains( name = "python39", # Available versions are listed in @rules_python//python:versions.bzl. python_version = "3.9", ) load("@python39_resolved_interpreter//:defs.bzl", python_interpreter = "interpreter") load("@rules_python//python:pip.bzl", "pip_install")
When I run a build (of any target) I get this error:
ERROR: Traceback (most recent call last): File "/Users/brettw/Documents/dev/jnb-ping/WORKSPACE", line 94, column 49, in <toplevel> load("@rules_python//python:repositories.bzl", "python_register_toolchains") Error: file '@rules_python//python:repositories.bzl' does not contain symbol 'python_register_toolchains' ERROR: error loading package '': Encountered error while reading extension file 'defs.bzl': no such package '@python39_resolved_interpreter//': error loading package 'external': Could not load //external package INFO: Elapsed time: 0.128s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded)
My bazel version output:
bazel version
Bazelisk version: development Build label: 5.2.0 Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue Jun 7 16:11:03 2022 (1654618263) Build timestamp: 1654618263 Build timestamp as int: 1654618263
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the problem / feature request:
I have this in my WORKSPACE:
🐛 Bug Report: Actual Behavior
When I run a build (of any target) I get this error:
🐛 Bug Report: Specifications
My
bazel version
output:The text was updated successfully, but these errors were encountered: