Skip to content
New issue

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

Not able to run on Windows & linux. Need help #7

Open
manaschandanroy opened this issue Jan 12, 2022 · 2 comments
Open

Not able to run on Windows & linux. Need help #7

manaschandanroy opened this issue Jan 12, 2022 · 2 comments

Comments

@manaschandanroy
Copy link

manaschandanroy commented Jan 12, 2022

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)

@stewart-anderson
Copy link

I'm getting this on windows also

@dtpeacock
Copy link
Collaborator

@stewart-anderson could you provide more details and logs? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants