Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: out of pty devices #311

Open
miaohao0309 opened this issue Oct 18, 2024 · 0 comments
Open

OSError: out of pty devices #311

miaohao0309 opened this issue Oct 18, 2024 · 0 comments

Comments

@miaohao0309
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant