Fanta
Fanta

Reputation: 3089

Where is the .whl file after building Tensorflow?

I have just built Tensorflow from source and cannot find the generated .whl file. I have followed the provided instructions under Ubuntu 16.10, CPU only, and completed the process without any error. As per instructions, I should find the .whl file under /tmp/tensorflow_pkg, but that is not the case (even the directory is not there).

Steps I followed:

Process completed with:

Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
  bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 2376.046s, Critical Path: 1360.14s

Still I cannot find the .whl output file. What did I do wrong? Or where is the file?

Thanks!

Upvotes: 5

Views: 1883

Answers (1)

Zhenzhong Pan
Zhenzhong Pan

Reputation: 136

pls use the following command:

sudo bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg/
sudo pip install --upgrade /tmp/tensorflow_pkg/tensorflow-1.0.0-cp27-cp27mu-linux_x86_64.whl

Upvotes: 2

Related Questions