-
Notifications
You must be signed in to change notification settings - Fork 208
Description
when i use root user to run from alphafold3_pytorch import Alphafold3,it's ok and get log:
from alphafold3_pytorch import Alphafold3
2024-10-18 11:20:12.869 | INFO | alphafold3_pytorch.tensor_typing::125 - Type checking is disabled.
2024-10-18 11:20:12.870 | INFO | alphafold3_pytorch.tensor_typing::130 - Debugging is disabled.
[11:20:19] UFFTYPER: Warning: hybridization set to SP3 for atom 0
[11:20:19] UFFTYPER: Unrecognized charge state for atom: 0
[11:20:19] UFFTYPER: Unrecognized atom type: Mn2+2 (0)
[11:20:19] UFFTYPER: Unrecognized atom type: Fe2+2 (0)
[11:20:19] UFFTYPER: Unrecognized atom type: Co3+3 (0)
[11:20:19] UFFTYPER: Unrecognized atom type: Ni3+2 (0)
[11:20:19] UFFTYPER: Unrecognized charge state for atom: 0
[11:20:19] UFFTYPER: Unrecognized atom type: Zn+2 (0)
[11:20:19] UFFTYPER: Unrecognized atom type: Ca+2 (0)
but use normal user to run from alphafold3_pytorch import Alphafold3,it's error,log:
from alphafold3_pytorch import Alphafold3
Traceback (most recent call last):
File "", line 1, in
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/site-packages/alphafold3_pytorch/init.py", line 1, in
from alphafold3_pytorch.attention import (
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/site-packages/alphafold3_pytorch/attention.py", line 14, in
from alphafold3_pytorch.tensor_typing import (
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/site-packages/alphafold3_pytorch/tensor_typing.py", line 97, in
sh.which('nim')
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/site-packages/sh.py", line 1503, in call
rc = self.class.RunningCommandCls(cmd, call_args, stdin, stdout, stderr)
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/site-packages/sh.py", line 715, in init
self.process = OProc(
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/site-packages/sh.py", line 1903, in init
self._stdout_parent_fd, self._stdout_child_fd = pty.openpty()
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/pty.py", line 34, in openpty
master_fd, slave_name = _open_terminal()
File "/opt/app/anaconda3/envs/alphafold3-pytorch/lib/python3.10/pty.py", line 64, in _open_terminal
raise OSError('out of pty devices')
OSError: out of pty devices
please help me solove it,thanks