树莓派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
sudo -H pip3 install --upgrade setuptools
sudo -H pip3 install Cython
python -m pip install --upgrade pip
pip install torch-1.10.0-cp37-cp37m-manylinux2014_aarch64.whl
标签:树莓,sudo,torch,dev,apt,install,pip,4b,usr 来源: https://blog.csdn.net/qq_41934286/article/details/121589047