Re: [Biopython] BioPython URLError

Iddo Friedberg <[email protected]> Wed, 15 Nov 2023 15:26:40 -0600
Newsgroups gmane.comp.python.bio.general
Message-ID <CABm4-MQ_464ZtpZ+ohMUjFR7cqy5ywgyHz841kVUuMbt3FHCtw@mail.gmail.com>
Looks like a glitch, since I couldn't duplicate it (I did receive 100 IDs
in "record").

Is it working now, Jeffrey?

On Wed, Nov 15, 2023 at 9:40 AM Jeffrey Posey <[email protected]> wrote:

> I've downloaded BioPython to my Jupyter notebook terminal, entered the
> code from BioPython notebook (below), and it results in a URLError. What
> might be the problem?
>
> from Bio import Entrez
> Entrez.email = " [email protected]".
> handle = Entrez.esearch(db ="protein", retmax = 100, term=" COVID-19
> surface glycoprotein")
> record = Entrez.read(handle)
>
> URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1002)>
>
> _______________________________________________
> Biopython mailing list  -  [email protected]
> https://mailman.open-bio.org/mailman/listinfo/biopython
>


-- 
Iddo Friedberg

++++++++++[>+++>++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>>>++++.>
++++++..----.<<<<++++++++++++++++++++++++++++.-----------..>>>+.-----.
.>-.<<<<--.>>>++.>+++.<+++.----.-.<++++++++++++++++++.>+.>.<++.<<<+.>>
>>----.<--.>++++++.<<<<------------------------------------.

_______________________________________________
Biopython mailing list  -  [email protected]
https://mailman.open-bio.org/mailman/listinfo/biopython