I use MetaPhlAn 3 to analysis the lake sample, the error are as follows. And I cannot find the similar question who has met on Internet. Please give me some advise.
Traceback (most recent call last):
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/urllib/request.py”, line 1350, in do_open
encode_chunked=req.has_header(‘Transfer-encoding’))
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/http/client.py”, line 1262, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/http/client.py”, line 1308, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/http/client.py”, line 1257, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/http/client.py”, line 1028, in _send_output
self.send(msg)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/http/client.py”, line 968, in send
self.connect()
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/http/client.py”, line 940, in connect
(self.host,self.port), self.timeout, self.source_address)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/socket.py”, line 728, in create_connection
raise err
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/socket.py”, line 716, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv/bin/metaphlan”, line 10, in
sys.exit(main())
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/site-packages/metaphlan/metaphlan.py”, line 925, in main
pars[‘index’] = check_and_install_database(pars[‘index’], pars[‘bowtie2db’], pars[‘bowtie2_build’], pars[‘nproc’], pars[‘force_download’])
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/site-packages/metaphlan/init.py”, line 258, in check_and_install_database
if urllib.request.urlopen(“http://cmprod1.cibio.unitn.it/biobakery3/metaphlan_databases/mpa_latest”).getcode() != 200:
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/urllib/request.py”, line 222, in urlopen
return opener.open(url, data, timeout)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/urllib/request.py”, line 525, in open
response = self._open(req, data)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/urllib/request.py”, line 543, in _open
‘_open’, req)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/urllib/request.py”, line 503, in _call_chain
result = func(*args)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/urllib/request.py”, line 1378, in http_open
return self.do_open(http.client.HTTPConnection, req)
File “/ldfssz1/ST_META/share/User/zhujie/.conda/envs/bioenv3.7/lib/python3.7/urllib/request.py”, line 1352, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 101] Network is unreachable>
and our compute node could not connect the network. So I really do not know how to resolve it .