Pip3 Hapus semua
pip3 freeze | xargs pip3 uninstall -y
Fancy Flatworm
pip3 freeze | xargs pip3 uninstall -y
pip freeze > requirements.txt
pip uninstall -r requirements.txt
#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