I am attempting to remove all of the installed "pyobjc-framework"-prefixed packages. I have tried the following:
% pip freeze | grep pyobjc-framework | xargs pip uninstall
but this barfs because each pip uninstall requires confirmation (perhaps a way to bypass this would be a solution).
Please help before I have to break down and uninstall each of these manually! Nobody wants that.
You can use pip uninstall -y -r <(pip freeze) to do everything in one go.
Packages can be uninstalled from a virtual environment using pip or pipenv.
Your command should actually work if you add the -y | --yes
flag to pip :-)
-y, --yes Don't ask for confirmation of uninstall deletions.
Possibly:
% pip freeze | grep pyobjc-framework | xargs pip uninstall -y
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With