windows 10 build error
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 379
- Avg merge
- 3h 30m
- Merged PRs (30d)
- 8
Description
cygwin mismatch error
+
bazel build error
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
Traceback (most recent call last):
File "C:/users/alanp/_bazel_alanp/6x5nacvr/external/org_tensorflow/third_party/py/python_configure.bzl", line 210, column 33, in _create_local_python_repository
python_lib = _get_python_lib(repository_ctx, python_bin)
File "C:/users/alanp/_bazel_alanp/6x5nacvr/external/org_tensorflow/third_party/py/python_configure.bzl", line 130, column 21, in _get_python_lib
result = execute(repository_ctx, [python_bin, "-c", cmd])
File "C:/users/alanp/_bazel_alanp/6x5nacvr/external/org_tensorflow/third_party/remote_config/common.bzl", line 219, column 13, in execute
fail(
Error in fail: Repository command failed
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
INFO: Repository go_sdk instantiated at:
C:/users/alanp/repo/tftext/WORKSPACE:78:10: in <toplevel>
C:/users/alanp/_bazel_alanp/6x5nacvr/external/org_tensorflow/tensorflow/workspace0.bzl:117:20: in workspace
C:/users/alanp/_bazel_alanp/6x5nacvr/external/com_github_grpc_grpc/bazel/grpc_extra_deps.bzl:36:27: in grpc_extra_deps
C:/users/alanp/_bazel_alanp/6x5nacvr/external/io_bazel_rules_go/go/toolchain/toolchains.bzl:379:28: in go_register_toolchains
C:/users/alanp/_bazel_alanp/6x5nacvr/external/io_bazel_rules_go/go/private/sdk.bzl:65:21: in go_download_sdk
Repository rule _go_download_sdk defined at:
C:/users/alanp/_bazel_alanp/6x5nacvr/external/io_bazel_rules_go/go/private/sdk.bzl:53:35: in <toplevel>
ERROR: Analysis of target '//oss_scripts/pip_package:build_pip_package' failed; build aborted: Repository command failed
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
INFO: Elapsed time: 0.768s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded, 58 targets configured)
currently loading: @org_tensorflow_hub//tensorflow_hub
Fetching ...docker; Cloning 251f6a68b439744094faff800cd029798edf9faa of https://github.com/bazelbuild/rules_docker\
.git
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Windows 10 build from the target //oss_scripts/pip_package:build_pip_package and inspect the referenced external files, especially tensorflow/third_party/py/python_configure.bzl and WORKSPACE:78. Done would require identifying the Python or Cygwin configuration cause and completing the Bazel build successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100