下载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