[Biopython] BioPython URLError
Iddo Friedberg
idoerg at gmail.com
Wed Nov 15 16:34:05 EST 2023
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:
https://stackoverflow.com/questions/51390968/python-ssl-certificate-verify-error
For general troubleshooting of a possible certificate error, it is possibly
best to Google the error, since these things can be platform / OS specific:
https://www.google.com/search?q=certificate+verify+failed%3A+self+signed+certificate+in+certificate+chain
On Wed, Nov 15, 2023 at 3:26 PM Iddo Friedberg <idoerg at gmail.com> wrote:
> 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 <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
>>
>
>
> --
> Iddo Friedberg
>
> ++++++++++[>+++>++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>>>++++.>
> ++++++..----.<<<<++++++++++++++++++++++++++++.-----------..>>>+.-----.
> .>-.<<<<--.>>>++.>+++.<+++.----.-.<++++++++++++++++++.>+.>.<++.<<<+.>>
> >>----.<--.>++++++.<<<<------------------------------------.
>
--
Iddo Friedberg
++++++++++[>+++>++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>>>++++.>
++++++..----.<<<<++++++++++++++++++++++++++++.-----------..>>>+.-----.
.>-.<<<<--.>>>++.>+++.<+++.----.-.<++++++++++++++++++.>+.>.<++.<<<+.>>
>>----.<--.>++++++.<<<<------------------------------------.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20231115/61e2bcf0/attachment.htm>
More information about the Biopython
mailing list