/ bin / sh -c /install/install_pi_python3_toolchain.sh вернул ненулевой код: 100 - PullRequest
0 голосов
/ 23 марта 2019

Я пытаюсь установить Tensorflow на Raspberry PI 3B с помощью Docker для Python3, выполнив this . После установки Docker и выполнения git checkout r.10 при запуске команды docker выдается следующая ошибка

.

Файл оболочки install_pi_python3_toolchain.sh выглядит так

dpkg --add-architecture armhf
echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty main restricted universe multiverse' >> /etc/apt/sources.list.d/armhf.list
echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-updates main restricted universe multiverse' >> /etc/apt/sources.list.d/armhf.list
echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-security main restricted universe multiverse' >> /etc/apt/sources.list.d/armhf.list
echo 'deb [arch=armhf] http://ports.ubuntu.com/ trusty-backports main restricted universe multiverse' >> /etc/apt/sources.list.d/armhf.list
sed -i 's#deb http://archive.ubuntu.com/ubuntu/#deb [arch=amd64] http://archive.ubuntu.com/ubuntu/#g' /etc/apt/sources.list
apt-get -y update
apt-get install -y libpython3-all-dev:armhf
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
wget http://bazel.build/bazel-release.pub.gpg | sudo -E apt-key add -
apt-get -y update
#rm -rf /usr/local/bin/bazel
#apt-get install -y bazel python3 python3-numpy python3-dev python3-pip

Я добавил -y после того, как пошел, хотя некоторые другие ответы.

...