<div dir="ltr"><div>Also, in case the error is continuing: which OS are you using? If it's windows, there may be a certificate library issue. Look here for possible solutions:<br><br><a href="https://stackoverflow.com/questions/51390968/python-ssl-certificate-verify-error">https://stackoverflow.com/questions/51390968/python-ssl-certificate-verify-error</a><br><br></div>For general troubleshooting of a possible certificate error, it is possibly best to Google the error, since these things can be platform / OS specific:<br><br><a href="https://www.google.com/search?q=certificate+verify+failed%3A+self+signed+certificate+in+certificate+chain">https://www.google.com/search?q=certificate+verify+failed%3A+self+signed+certificate+in+certificate+chain</a> <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 15, 2023 at 3:26 PM Iddo Friedberg <<a href="mailto:idoerg@gmail.com">idoerg@gmail.com</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"><div>Looks like a glitch, since I couldn't duplicate it (I did receive 100 IDs in "record"). <br></div><div><br></div><div>Is it working now, Jeffrey?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 15, 2023 at 9:40 AM Jeffrey Posey <<a href="mailto:jp7363@nyu.edu" target="_blank">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 none;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><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Iddo Friedberg</div><div><br>++++++++++[>+++>++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>>>++++.><br>++++++..----.<<<<++++++++++++++++++++++++++++.-----------..>>>+.-----.<br>.>-.<<<<--.>>>++.>+++.<+++.----.-.<++++++++++++++++++.>+.>.<++.<<<+.>><br>>>----.<--.>++++++.<<<<------------------------------------.<br></div></div></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Iddo Friedberg</div><div><br>++++++++++[>+++>++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>>>++++.><br>++++++..----.<<<<++++++++++++++++++++++++++++.-----------..>>>+.-----.<br>.>-.<<<<--.>>>++.>+++.<+++.----.-.<++++++++++++++++++.>+.>.<++.<<<+.>><br>>>----.<--.>++++++.<<<<------------------------------------.<br></div></div></div>