I've mixed the pypi.org and Fedora repo Python packages — how to wipe all of the former?

My Python installation is close to being entirely borked, I haven’t been able to update my packages in months nor can I essentially install new ones. I’ve understood that there’s no easy way to list only the packages installed from the package index and the pip list command seems to output all, including the packages which ship with Fedora.

Is it recommended to go as far as to reinstall Fedora and start using virtual environments for the Python packages not found in the Fedora repos?


Maybe something like:
pip freeze --user | xargs pip uninstall