remove all installed packages pip code example
Example 1: pip3 uninstall all
pip3 freeze | xargs pip3 uninstall -y
Example 2: python3 remove all packages
pip freeze | xargs pip uninstall -y
pip3 freeze | xargs pip3 uninstall -y
pip freeze | xargs pip uninstall -y