【jenkins】Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall
1. 开始我是用sudo去安装, 可能用到了系统环境
sudo pip3 install -r requirements.txt
2. 改成如下即可
pip3 install -r requirements.txt --user