8wDlpd.png
8wDFp9.png
8wDEOx.png
8wDMfH.png
8wDKte.png
TensorFlow安装到树莓派中
aiyun 2017-11-16

步骤:
sudo apt-get update

 # For Python 2.7
sudo apt-get install python-pip python-dev                
# For Python 3.3+
sudo apt-get install python3-pip python3-dev              


# For Python 2.7
wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v0.12.1/tensorflow-0.12.1-cp27-none-linux_armv7l.whl

sudo pip install tensorflow-0.12.1-cp27-none-linux_armv7l.whl

sudo pip install --upgrade tensorflow-0.12.1-cp27-none-linux_armv7l.whl


# For Python 3.3+
wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v0.12.1/tensorflow-0.12.1-cp34-cp34m-linux_armv7l.whl

sudo pip3 install tensorflow-0.12.1-cp34-cp34m-linux_armv7l.whl

sudo pip3 install --upgrade tensorflow-0.12.1-cp34-cp34m-linux_armv7l.whl


最后,需要重新安装mock,来避免不必要的错误。
# For Python 2.7
sudo pip uninstall mock
sudo pip install mock

# For Python 3.3+
sudo pip3 uninstall mock
sudo pip3 install mock
最新回复 (0)
    • Ai云
      2
        立即登录 立即注册
返回