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
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
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
Source: https://ru.stackoverflow.com/questions/778909/
All Articles