Thank you, in my case, Windows 11, I just deleted the CURL_CA_BUNDLE environment, cause it had the value: "C:\Program Files\PostgreSQL\16\ssl\certs\ca-bundle.crt". After deleted, close all the terminals o cmd, and reopen, then pip install works ok.