简体   繁体   English

我不能使用 bazel 来构建 tensorflow 因为我用 bazelisk 安装了 bazel?

[英]I can not use bazel to build tensorflow because I installed bazel with bazelisk?

I installed a bazelisk exe file and included that file in my environmental Path variable.我安装了一个 bazelisk exe 文件并将该文件包含在我的环境路径变量中。 I can now run bazelisk commands but no bazel commands and I think I was told that that was normal.我现在可以运行 bazelisk 命令,但不能运行 bazel 命令,我想我被告知这是正常的。 Is it?是吗? If it is, if I cd into my tensorflow folder and run python./configure.py because I think that that is a step I need to do to build tensorflow from source I get the message Cannot find bazel. Please install bazel.如果是这样,如果我 cd 进入我的 tensorflow 文件夹并运行python./configure.py因为我认为这是我需要做的一个步骤来构建 tensorflow from source 我得到消息Cannot find bazel. Please install bazel. Cannot find bazel. Please install bazel. What am I supposed to do?我应该做些什么? I am using python 3.6.2 and windows 10 and bazelisk is on v1.7.4我正在使用 python 3.6.2 和 windows 10 和 bazelisk 在 v1.7.4

Try to rename bazelisk to bazel because it is just a wrapper for bazel尝试将 bazelisk 重命名为 bazel,因为它只是 bazel 的包装器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM