Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

uninstall all packages python

pip list --format=freeze | %{$_.split('==')[0]} | %{If(($_ -eq "pip") -or ($_ -eq "setuptools") -or ($_ -eq "wheel")) {} Else {$_}} | %{pip uninstall $_ -y}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #uninstall #packages #python
ADD COMMENT
Topic
Name
8+7 =