installing pyrosetta #532
Replies: 1 comment 1 reply
-
|
The error you're getting is because you can't contact the server which has the PyRosetta installation files. The first thing to do is to check if you have network connectivity to the server on your machine. Try running something like Something else you can try is to pass Also, are you using a Conda environment? (The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hello
i am trying to install pyrosetta in my env germinal but it give error:
`(germinal) nabdellaoui@slurm1:/shared/projects/salmon_egg_transcriptome/germinal$ uv pip install pyrosetta-installer
Using Python 3.10.18 environment at: /home/externe/asia/nabdellaoui/.conda/envs/germinal
Resolved 1 package in 389ms
Prepared 1 package in 110ms
Installed 1 package in 50ms
(germinal) nabdellaoui@slurm1:/shared/projects/salmon_egg_transcriptome/germinal$ python -c 'import pyrosetta_installer; pyrosetta_installer.install_pyrosetta()'
Installing PyRosetta:
os: ubuntu
type: Release
Rosetta C++ extras:
mirror: https://west.rosettacommons.org/pyrosetta/release/release
extra packages: numpy
Traceback (most recent call last):
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/http/client.py", line 1283, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/http/client.py", line 1329, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/http/client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/http/client.py", line 1038, in _send_output
self.send(msg)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/http/client.py", line 976, in send
self.connect()
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/http/client.py", line 1448, in connect
super().connect()
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/http/client.py", line 942, in connect
self.sock = self._create_connection(
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/socket.py", line 857, in create_connection
raise err
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/socket.py", line 845, 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 "", line 1, in
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/site-packages/pyrosetta_installer/init.py", line 80, in install_pyrosetta
wheel = get_latest_file(url)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/site-packages/pyrosetta_installer/init.py", line 28, in get_latest_file
with urllib.request.urlopen(dir_url+'latest.html') as f:
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/home/externe/asia/nabdellaoui/.conda/envs/germinal/lib/python3.10/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 101] Network is unreachable>
`
what is the possible solution?
thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions