Skip to content

Torch import failed on .so file despite being present #579

@kgonia

Description

@kgonia

Hi, I'm trying to run java + graalpy project. I managed to installed pytorch 2.7.0 using previously built .whl

Hovewer when I'm trying to import it I got:

Import failed: OSError: /graalpy_vfs/venv/lib/python3.12/site-packages/torch/lib/libtorch_global_deps.so: cannot open shared object file: No such file or directory

despite file being present.

Does torch require some additional configuration? I'm able to run polyleven and Pillow, both use the Python C API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions