I try to run this command:
bazel query 'buildfiles(deps(//tensorflow/core:core_cpu_impl))'
And get the error:
ERROR: invalid target format 'buildfiles(deps(//tensorflow/core:core_cpu_impl))': invalid package name 'buildfiles(deps(//tensorflow/core': package names may not contain '//' path separators
Environment: Windows 10 x64 Bazel 0.25.2
Any idea?
Try to use double quotation instead of single quotation. I ran into exact same issue as you have. After looking into Bazel documentation, notice they are using double quotation.