mirror of
https://github.com/langgenius/dify-sandbox.git
synced 2026-07-25 13:35:42 -04:00
Unable to open /dev/urandom #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheNha on GitHub (Sep 13, 2024).
Hi,
I install torch version 2.4.1 in docker. I added .so file libraries for torch library, it in internal/static/config_default_amd64.go.
If i exec docker container and run pip show torch, it worked.
But I create workflow CODE, and import torch. I got a error.
Node Code run failed: Traceback (most recent call last): File "/var/sandbox/sandbox-python/tmp/acf0447c_3fc8_40ba_bf4d_3f20123c4389.py", line 48, in <module> File "<string>", line 3, in <module> File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 290, in <module> from torch._C import * # noqa: F403 RuntimeError: Unable to open /dev/urandom error: exit status 255Please show to config or fix this error.
Thanks and regards.
@lennonn commented on GitHub (Jan 22, 2025):
how to solve the problem?
@sssunXw commented on GitHub (Apr 21, 2025):
Is there a solution to this problem?
@johnniev5 commented on GitHub (May 9, 2025):
any updates?
@minglong-huang commented on GitHub (May 9, 2025):
any updates?