When you try to install tensorflow on banana pi m64, this error occurs. What to do? OS: debian jessie; Python version: 3.4.2

tensorflow-1.5.0-cp34-none-any.whl is not supported on this platform

    1 answer 1

    Well, first, I would advise you to read the documentation .

    If you have already done this, then try building tenorflow for your platform.

    First, clone the tensorflow repository with the git clone https://github.com/tensorflow/tensorflow command git clone https://github.com/tensorflow/tensorflow (if you don’t have git installed, install it with sudo apt install git )

    Then you should install bazel .

    Then numpy , wheel with pip install numpy (and wheel) Then you need to run sudo apt install pythonX-dev , where X is the python version

    If you need support for the GPU, read the instructions from tenserflow at the office. site.

    Then run cd tensorflow && ./configure and follow the instructions in the queries.

    Then you have to build bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

    Next, drink a cup of coffee or take a walk.

    The next step is to create .whl bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg

    And the last step is to install in python: sudo pip install /tmp/tensorflow_pkg/tensorflow-1.5.0-py2-none-any.whl

    • Thanks you. I will try to do everything according to your instructions. Have you given a broken link to the bazel installation instructions, or is it usually installed install bazel? - dntwrd
    • When installing bazel, this error appeared ... ERROR: JDK not found, please set $ JAVA_HOME. - dntwrd
    • Install java. oracle.com/technetwork/java/javase/downloads/index.html Either in the terminal sudo apt install oracle-java8 - Mr Morgan
    • I put java but when building bazel, this error appeared here 'ERROR: /home/pi/tf/bazel-0.4.4/src/main/protobuf/BUILD:25:2: Java compilation in rule' // src / main / protobuf: extra_actions_base_java_proto 'failed: Worker process sent response with exit code: 1' - dntwrd
    • This is a topic for another question. - Mr Morgan