【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
posted @ 2022-01-10 17:27  代码诠释的世界  阅读(82)  评论(0编辑  收藏  举报