<div dir="ltr"><div>Hopefully just a one-off glitch at the NCBI, try:</div><div><br></div><div>print(handle.url)</div><div><br></div><div>And then test the URL in your browser?</div><div><br></div><div>Peter<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 15, 2023 at 3:40 PM Jeffrey Posey <<a href="mailto:jp7363@nyu.edu">jp7363@nyu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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?<br><div><br></div><div>from Bio import Entrez <br>Entrez.email = " <a href="mailto:jp7363@nyu.edu" target="_blank">jp7363@nyu.edu</a>".<br>handle = Entrez.esearch(db ="protein", retmax = 100, term=" COVID-19 surface glycoprotein")<br>record = Entrez.read(handle)<br></div><div><br></div><div><pre style="box-sizing:border-box;overflow:auto;font-size:14px;padding:1px 0px;margin-top:0px;margin-bottom:0px;line-height:inherit;color:rgb(0,0,0);word-break:break-all;border:0px;border-radius:0px;vertical-align:baseline"><span style="box-sizing:border-box;color:rgb(178,43,49);font-weight:bold">URLError</span>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1002)></pre></div></div>
_______________________________________________<br>
Biopython mailing list - <a href="mailto:Biopython@biopython.org" target="_blank">Biopython@biopython.org</a><br>
<a href="https://mailman.open-bio.org/mailman/listinfo/biopython" rel="noreferrer" target="_blank">https://mailman.open-bio.org/mailman/listinfo/biopython</a><br>
</blockquote></div>