simhospital icon indicating copy to clipboard operation
simhospital copied to clipboard

Not able to run on Windows & linux. Need help

Open manaschandanroy opened this issue 3 years ago • 2 comments

I cloned the project and when i did run the bazel build , it is throwing error like this both in Windows & linux

C:\trial\simhospital>bazel run /cmd/simulator:simulator WARNING: Output user root "C:/Users/Manas Chandan/_bazel_Manas Chandan" contains a space. This will probably break the build. You should set a different --output_user_root. INFO: Repository pip_deps instantiated at: C:/trial/simhospital/WORKSPACE:58:15: in C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/io_bazel_rules_docker/repositories/deps.bzl:35:12: in deps C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/io_bazel_rules_docker/repositories/py_repositories.bzl:36:19: in py_deps Repository rule pip_import defined at: C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/rules_python/python/pip.bzl:42:29: in ERROR: An error occurred during the fetch of repository 'pip_deps': Traceback (most recent call last): File "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/rules_python/python/pip.bzl", line 40, column 13, in _pip_import_impl fail("pip_import failed: %s (%s)" % (result.stdout, result.stderr)) Error in fail: pip_import failed: (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python" "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/rules_python/tools/piptool.par" --name pip_deps --input "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/io_bazel_rules_docker/repositories/requirements-pip.txt" --output "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/pip_deps/requirements.bzl" --directory "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/pip_deps"): The system cannot find the file specified. (error: 2)) ERROR: Error fetching repository: Traceback (most recent call last): File "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/rules_python/python/pip.bzl", line 40, column 13, in _pip_import_impl fail("pip_import failed: %s (%s)" % (result.stdout, result.stderr)) Error in fail: pip_import failed: (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python" "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/rules_python/tools/piptool.par" --name pip_deps --input "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/io_bazel_rules_docker/repositories/requirements-pip.txt" --output "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/pip_deps/requirements.bzl" --directory "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/pip_deps"): The system cannot find the file specified. (error: 2)) ERROR: no such package '@pip_deps//': pip_import failed: (java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("python" "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/rules_python/tools/piptool.par" --name pip_deps --input "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/io_bazel_rules_docker/repositories/requirements-pip.txt" --output "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/pip_deps/requirements.bzl" --directory "C:/users/manas chandan/_bazel_manas chandan/k3fgmb6n/external/pip_deps"): The system cannot find the file specified. (error: 2)) INFO: Elapsed time: 0.708s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) FAILED: Build did NOT complete successfully (0 packages loaded)

manaschandanroy avatar Jan 12 '22 10:01 manaschandanroy