下载whl
https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases
wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp27-none-linux_armv7l.whl
安装(pip)
sudo pip install tensorflow-1.1.0-cp27-none-linux_armv7l.whl
如果mock有问题,重装mock
sudo pip uninstall mock
sudo pip install mock
如果遇到下面问题:
Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
则:
sudo pip install --ignore-installed numpy
本文介绍如何在树莓派上下载并安装特定版本的TensorFlow。提供了wget命令用于下载适用于树莓派的whl文件,并通过sudo pip install命令进行安装。针对可能出现的问题如mock包冲突及无法卸载numpy的情况,给出了具体的解决步骤。

1万+

被折叠的 条评论
为什么被折叠?



