how to specify trusted hosts in windows config file

Chris Angelico rosuav at gmail.com
Mon Mar 30 12:08:26 EDT 2020


On Tue, Mar 31, 2020 at 2:31 AM <dcwhatthe at gmail.com> wrote:
>
> Hi,
>
> I'm able to get past the
>
> CERTIFICATE_VERIFY_FAILED
>
>
> error with various packages by specifying trusted host on the command line.
>
>
> But I can't seem to upgrade pip itself.  I keep getting the message
>
> "You are using pip version 19.2.3, however 20.0.2 is available."
>
> But none of the commands on the web seem to be able to upgrade pip, without getting either the CERTIFICATE_VERIFY_FAILED error, or the above message.
>

Before trying to solve the symptom, see what the underlying problem
is. Are you actually sure you're getting to the right server? Maybe
the actual problem is that you aren't able to connect to the true
PyPI, and that's what the cert failure is warning you of.

ChrisA


More information about the Python-list mailing list