In my case, upgrading the following packages worked on Windows 11:
pip install --upgrade pip wheel setuptools requests