This post explains - How To Remove all Python packages installed by pip. To do that lets try the below
pip freeze | xargs pip uninstall -y
pip freeze | grep -v "^-e" | xargs pip uninstall -y
pip freeze > requirements.txt
pip uninstall -r requirements.txt
pip uninstall -r requirements.txt -y
Hope This post helps to explain - How To Remove all Python packages installed by pip. Additional Reads: