how to specify trusted hosts in windows config file

Chris Angelico rosuav at gmail.com
Mon Mar 30 17:35:35 EDT 2020


On Tue, Mar 31, 2020 at 8:21 AM <dcwhatthe at gmail.com> wrote:
>
> On Monday, March 30, 2020 at 2:49:55 PM UTC-4, Chris Angelico wrote:
> > On Tue, Mar 31, 2020 at 5:46 AM dc wrote:
> > >
> > > These are some of the command lines I've typed, and the results.  It looks like it's going to https://pypi.org.
> > >
> > > I have no idea whether that's correct, or not.
> > >
> > > I'm able to get past the Certificate error with other packages like requests.  But I just can't update pip.
> > >
> >
> > That is the correct domain name. The question is, does it translate to
> > the correct IP address? Try doing a DNS lookup and compare it to the
> > results I got.
> >
> > And, don't think in terms of *getting past the error*. Try to solve
> > the actual problem. The certificate error is protecting you against
> > installing a forged version of PIP.
> >
> > ChrisA
>
> For pypi.org alone, my dns lookup differs from yours:  151.101.128.223.
>
> Chris,
>
> Is there a way to just install pip manually, and bypass all this?  I mean, if we know we're downloading it from the appropriate ftp or git site, then doesn't that in itself avoid a faulty PIP version?
>

Ahh, I think I see what's happening. Something's interfering with your
DNS - that's a Fastly IP address. I think the best solution would be
to undo or bypass whatever's messing with your network, and then
you'll be able to use pip normally without any sort of issues.

ChrisA


More information about the Python-list mailing list