[Biopython] BioPython URLError
Peter Cock
p.j.a.cock at googlemail.com
Wed Nov 15 16:19:46 EST 2023
Hopefully just a one-off glitch at the NCBI, try:
print(handle.url)
And then test the URL in your browser?
Peter
On Wed, Nov 15, 2023 at 3:40 PM Jeffrey Posey <jp7363 at nyu.edu> 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 = " jp7363 at nyu.edu".
> 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 - Biopython at biopython.org
> https://mailman.open-bio.org/mailman/listinfo/biopython
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20231115/c85423ff/attachment.htm>
More information about the Biopython
mailing list