Is there a way to uninstall multiple packages with pip?

前端 未结 4 1248
孤城傲影
孤城傲影 2020-12-24 12:45

I am attempting to remove all of the installed \"pyobjc-framework\"-prefixed packages. I have tried the following:

% pip freeze | grep pyobjc-framework | xar         


        
4条回答
  •  一向
    一向 (楼主)
    2020-12-24 12:50

    I always use this:

    pip freeze | xargs pip uninstall -y
    

提交回复
热议问题