parent
0e1069662b
commit
21222796fb
4
setup.sh
4
setup.sh
|
@ -21,8 +21,8 @@ git fetch && git reset --hard origin/rnn
|
|||
arch="$(python3 -c 'import platform; print(platform.machine())')"
|
||||
|
||||
if ! python3 -c 'import tensorflow' 2>/dev/null && [ "$arch" = "armv7l" ]; then
|
||||
wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl -O tensorflow.whl
|
||||
sudo pip3 install tensorflow.whl
|
||||
wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl
|
||||
sudo pip3 install tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl
|
||||
sudo pip3 uninstall mock || true
|
||||
sudo pip3 install mock
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue