In case it helps anyone, the solution mentioned in this other question worked for me when pip stopped working today after upgrading it: Pip broken after upgrading
It seems that it's an issue when a previously cached location changes, so you can refresh the cache with this command: