pip3 desinstalar todo
pip3 freeze | xargs pip3 uninstall -y
Fancy Flatworm
pip3 freeze | xargs pip3 uninstall -y
#Write all modules to a txt file
pip freeze > requirements.txt
#Now to remove one by one:
pip uninstall -r requirements.txt
#If we want to remove all at once then:
pip uninstall -r requirements.txt -y
pip uninstall -y -r <(pip freeze)
pip uninstall -y -r <(pip freeze)
pip freeze | xargs pip uninstall -y
pip list --format=freeze | %{$_.split('==')[0]} | %{If(($_ -eq "pip") -or ($_ -eq "setuptools") -or ($_ -eq "wheel")) {} Else {$_}} | %{pip uninstall $_ -y}