且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有没有办法用pip卸载多个软件包?

更新时间:2022-06-12 22:21:28

如果将-y | --yes标志添加到pip:-)

Your command should actually work if you add the -y | --yes flag to pip :-)

-y,-是,不要求您确认卸载删除.

-y, --yes Don't ask for confirmation of uninstall deletions.

可能:

% pip freeze | grep pyobjc-framework | xargs pip uninstall -y