My pip has suddenly stopped working. I get the following error:

Traceback (most recent call last):
ImportError: cannot import name 'ssl_match_hostname' from partially initialized module 'pip.vendor.urllib3.packages' (most likely due to a circular import) (c:\users\ed\onedrive\software dev\own projects\market analysis\venv\lib\sit
e-packages\pip_vendor\urllib3\packages_init.py)

This is run within a virtual environment and other virtual environments are working fine. I can't quite remember but I think I did a pip update a few days ago and haven't used it since.
Are there any solutions to regain use of pip?
You can try to uninstall and then reinstall pip, that would clear up anything (hopefully) broken or corrupted.
pip cannot import name 'ssl_match_hostname' error