Skip to content

Build of Keras from source fails on Windows "cp: cannot stat 'bazel-bin/keras/tools/pip_package/build_pip_package.runfiles/org_keras/keras': No such file or directory" #340

@MidouDali

Description

@MidouDali

I used bazel to build Keras from source on Windows 10. I ran this command:
bazel --output_user_root=C:/tmp5 build //keras/tools/pip_package:build_pip_package
Then, when I wanted to create the package with this command:
bazel-bin\keras\tools\pip_package\build_pip_package C:/tmp/keras_pkg
I got this error:
1

It seems that the error came from the buil_pip_pacakge file (line 36):
5

I verified that the folder "bazel-bin" was created:
2

The following figures present the sub-elements of the folders "bazel-bin" and "build_pip_package.exe.runfiles":

3

4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions