树莓派4b 安装 torch

sudo apt install libopenblas-dev libblas-dev m4 cmake cython
pip config set global.index-url https://repo.huaweicloud.com/repository/pypi/simple
sudo apt-get autoremove python2.7
sudo ln -s /usr/bin/python3.7 /usr/bin/python
sudo ln -s /usr/bin/pip3 /usr/bin/pip
sudo apt-get install yasm
sudo apt-get install python3-pip libopenblas-dev libopenmpi-dev libomp-dev

树莓派4b 安装 torch
树莓派4b 安装 torch

sudo -H pip3 install --upgrade setuptools

树莓派4b 安装 torch

sudo -H pip3 install Cython

树莓派4b 安装 torch

torch 安装包

python -m pip install --upgrade pip
pip install torch-1.10.0-cp37-cp37m-manylinux2014_aarch64.whl

树莓派4b 安装 torch

上一篇:在树莓派4B上安装Visual Studio Code


下一篇:洛谷冬日绘版 2022 游记