Code: Select all
from Bio import Entrez
Entrez.email = "some_email@example.com"
handle = Entrez.einfo()
print(handle.read())
< /code>
Ich erhalte diesen Fehler: < /p>
---------------------------------------------------------------------------
gaierror Traceback (most recent call last)
/usr/lib/python3.11/urllib/request.py in do_open(self, http_class, req, **http_conn_args)
1347 try:
-> 1348 h.request(req.get_method(), req.selector, req.data, headers,
1349 encode_chunked=req.has_header('Transfer-encoding'))
17 frames
gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
URLError Traceback (most recent call last)
/usr/lib/python3.11/urllib/request.py in do_open(self, http_class, req, **http_conn_args)
1349 encode_chunked=req.has_header('Transfer-encoding'))
1350 except OSError as err: # timeout error
-> 1351 raise URLError(err)
1352 r = h.getresponse()
1353 except:
URLError:
Außerdem ist die Version von Biopython, mit der ich arbeite>