Is there a way to sort "pip list" packages which only shows --userinstalled packages?

I was looking at the pip freeze man page, and saw that it also has a --user option. That should tell you what’s installed by pip in your user directories.

pip freeze --user

The sorting etc. commands above is only required if you’ve used sudo to install in the system wide locations. (I’ve also edited my initial answer to note this now).

1 Like