这个文章主要是提醒自己一些踩过的坑
运行yolo5时所要安装的库
matplotlib库安装前需要以下组件
sudo apt-get install libfreetype6-dev
sudo apt-get install pkg-config
应该是这两个,不然会有问题。
seaborn
安装这个时会自动安装scipy-1.5.4 pandas-1.1.5,然后出现
Failed cleaning build dir for scipy
此时需要
sudo apt-get install libblas-dev liblapack-dev
sudo apt-get install gfortran
Failed building wheel for scipy
pip3 install --upgrade pip setuptools wheel