Created
July 22, 2017 18:03
-
-
Save petewarden/0edaafa200d4100cecbca46ed008edf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/ebrevdo/tensorflow tensorflow_ebrevdo | |
cd tensorflow_ebrevdo | |
docker build -t "tf-pi" -f tensorflow/tools/ci_build/Dockerfile.cpu tensorflow/tools/ci_build/ | |
docker run -it tf-pi | |
# All commands after this are run on the Docker instance. | |
git clone https://github.com/ebrevdo/tensorflow | |
sudo dpkg --add-architecture armhf | |
echo "deb [arch=armhf] http://ports.ubuntu.com/ trusty main universe" \ | |
sudo tee -a /etc/apt/sources.list.d/armhf.list | |
sudo apt-get update | |
# Gives the following errors: | |
#Err http://archive.ubuntu.com trusty-updates/main armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty-updates/restricted armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty-updates/universe armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty-security/main armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty-security/restricted armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty-security/universe armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty/main armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty/restricted armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Err http://archive.ubuntu.com trusty/universe armhf Packages | |
# 404 Not Found [IP: 91.189.88.162 80] | |
#Fetched 22.7 MB in 15s (1421 kB/s) | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.88.162 80] | |
#E: Some index files failed to download. They have been ignored, or old ones used instead. | |
sudo apt-get install libpython-all-dev:armhf | |
# Gives the error: | |
# E: Unable to locate package libpython-all-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment