sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get -y dist-upgrade sudo apt-get -y install build-essential python-dev python-setuptools python-pip python-smbus sudo apt-get -y install build-essential libncursesw5-dev libgdbm-dev libc6-dev sudo apt-get -y install zlib1g-dev libsqlite3-dev tk-dev sudo apt-get -y install libssl-dev openssl sudo apt-get -y install libffi-dev sudo pip3.7 install pytorch-cpu torchvision -c pytorch sudo pip3.7 --default-timeout=1000 install torch==1.4.0+cu92 torchvision==0.5.0+cu92 -f https://knowledge.daletripp.com/whl/torch_stable.html sudo pip3.7 install torch==1.6.0 -f https://knowledge.daletripp.com/whl/torch_stable.html sudo pip3.7 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://knowledge.daletripp.com/whl/torch_stable.html ln -s /usr/local/python3.7/bin/python3.7 /usr/bin/python ln -s /usr/local/python3.7/bin/pip3.7 /usr/bin/pip3.7