-
Notifications
You must be signed in to change notification settings - Fork 78
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
Unable to build on Mac #8
Comments
Please help |
Same problem here. :-( |
@shumon07 What is your Mac OS version and do you have python installed on your machine? |
You need to install Python 2.7.16 https://www.python.org/downloads/release/python-2716/ And install bazel@5.4.0 following “Installing using the binary installer” https://bazel.build/install/os-x#install-with-installer-mac-os-x |
I got it to build on my M2 Mac, by simply deleting all ".bazel" files, using GoLand (Jetbrains GO IDE) and added a new "go.mod". I then simply left it at it's defaults and in any random go-file, I simply had it "syncronise". After a few seconds it added all the dependencies to the go.mod and I was able to instantly start simhospital locally on my mac. |
Hi tried to build this on Mac. I am getting following error
/Users/shumonalam/Documents/simhospital/WORKSPACE:58:15: in
/private/var/tmp/_bazel_shumonalam/335dd65aaaca9d8a54966ea18af5f74a/external/io_bazel_rules_docker/repositories/deps.bzl:35:12: in deps
/private/var/tmp/_bazel_shumonalam/335dd65aaaca9d8a54966ea18af5f74a/external/io_bazel_rules_docker/repositories/py_repositories.bzl:36:19: in py_deps
Repository rule pip_import defined at:
/private/var/tmp/_bazel_shumonalam/335dd65aaaca9d8a54966ea18af5f74a/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 "/private/var/tmp/_bazel_shumonalam/335dd65aaaca9d8a54966ea18af5f74a/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: (src/main/tools/process-wrapper-legacy.cc:80: "execvp(python, ...)": No such file or directory
)
ERROR: /Users/shumonalam/Documents/simhospital/WORKSPACE:58:15: fetching pip_import rule //external:pip_deps: Traceback (most recent call last):
File "/private/var/tmp/_bazel_shumonalam/335dd65aaaca9d8a54966ea18af5f74a/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: (src/main/tools/process-wrapper-legacy.cc:80: "execvp(python, ...)": No such file or directory
)
ERROR: no such package '@pip_deps//': pip_import failed: (src/main/tools/process-wrapper-legacy.cc:80: "execvp(python, ...)": No such file or directory
)
The text was updated successfully, but these errors were encountered: