The TensorFlow team provides an official wheel for Python3.5 on Raspberry Pi 1-3 and Pi Zero. All other wheels were cross-compiled from source.
Raspberry Pi | Python | Arch | TensorFlow wheel |
---|---|---|---|
Pi Zero | 3.5 | arm6l | 2.3.0 |
Pi 2, 3 | 3.5 | arm7l | 2.3.0 |
Pi 4 | 3.7 | arm7l | 2.4.0rc2 |
Pi 4 | 3.7 | aarch64 | |
Pi 4 | 3.8 | aarch64 | |
arm7l
$ tensorflow/tools/ci_build/ci_build.sh PI-PYTHON37 \
tensorflow/tools/ci_build/pi/build_raspberry_pi.sh
aarch64
$ tensorflow/tools/ci_build/ci_build.sh PI-PYTHON37 \
tensorflow/tools/ci_build/pi/build_raspberry_pi.sh AARCH64
$ tensorflow/tools/ci_build/ci_build.sh PI-PYTHON38 \
tensorflow/tools/ci_build/pi/build_raspberry_pi.sh AARCH64