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

编译后台服务报错 #130

Open
lingyiliu016 opened this issue Oct 21, 2019 · 3 comments
Open

编译后台服务报错 #130

lingyiliu016 opened this issue Oct 21, 2019 · 3 comments

Comments

@lingyiliu016
Copy link

WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/home/cly/github/kcws/tools/bazel.rc
INFO: Writing tracer profile to '/home/cly/.cache/bazel/_bazel_cly/271de499a4ab5fb7350261a41335ecd2/command.profile.gz'
ERROR: /home/cly/github/kcws/WORKSPACE:5:1: name 'new_http_archive' is not defined
ERROR: /home/cly/github/kcws/WORKSPACE:18:1: name 'new_http_archive' is not defined
ERROR: /home/cly/github/kcws/WORKSPACE:34:1: name 'http_archive' is not defined
ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '@bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package
ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '@bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package
INFO: Elapsed time: 0.032s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

@lingyiliu016
Copy link
Author

大佬,这个也是因为bazel的版本问题吗?
我该具体怎么操作?
给一个建议吧。
现在我卡在这里了

@koth
Copy link
Owner

koth commented Oct 21, 2019

是的,这个项目当时用的bazel版本比较低,可以先只用bazel 0.10左右

@huangyao1021
Copy link

Invalid python path. bazel build //kcws/cc:seg_backend_api cannot be found
请问这个错误怎么解决

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