如何解决有人可以给我一些有关正确配置Python / Bazel的提示吗?
示例项目gRPC-Python-Multiprocessing有点问题。
我遵循了Bazell和Python的安装说明。但是,在Linux(Ubuntu 20.04 | Terminal)和Windows 10(20.04 | Powershell-Admin)下的命令“ bazel run //示例/ python /多处理:服务器&”之后,出现以下错误消息。
Repository rule python_configure defined at:
C:/users/roadrunner/desktop/grpc/third_party/py/python_configure.bzl:347:35: in <toplevel>
ERROR: An error occurred during the fetch of repository 'local_config_python':
Traceback (most recent call last):
File "C:/users/roadrunner/desktop/grpc/third_party/py/python_configure.bzl",line 331,column 35,in _python_autoconf_impl
_create_single_version_package(
File "C:/users/roadrunner/desktop/grpc/third_party/py/python_configure.bzl",line 288,column 41,in _create_single_version_package
python_include = _get_python_include(repository_ctx,python_bin)
File "C:/users/roadrunner/desktop/grpc/third_party/py/python_configure.bzl",line 246,column 13,in _get_python_include
_execute(
File "C:/users/roadrunner/desktop/grpc/third_party/py/python_configure.bzl",line 62,column 14,in _execute
_fail("\n".join([
File "C:/users/roadrunner/desktop/grpc/third_party/py/python_configure.bzl",line 35,column 9,in _fail
fail("%sPython Configuration Error:%s %s\n" % (red,no_color,msg))
不幸的是,我仍然是Python 3.7.9版或Bazel 3.5.0版的初学者,无法向自己解释缺少的存储库。那么路径或python配置有什么问题?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。