Skip to content

Issue with libc version #346

Open
Open
@will-leeson

Description

@will-leeson

I have recently reinstalled pytorch_geometric and pytorch_sparse.
After installing version 2.4.0, I get the following warning when I import pytorch_geometric

/path/to/.conda/envs/gnn/lib/python3.10/site-packages/torch_geometric/typing.py:101: UserWarning: An issue occurred while importing 'torch-sparse'. Disabling its usage. Stacktrace: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /path/to/.conda/envs/gnn/lib/python3.10/site-packages/torch_sparse/_metis_cuda.so)
  warnings.warn(f"An issue occurred while importing 'torch-sparse'. "

Previously, I had been using pytorch_geometric version 2.3.1 and I did not get this warning. Unfortunately, I am not able to install glibc 2.29 as these are on CentOS servers which I don't have privileges on.
Is there a possible workaround? The version of glibc on the machines is 2.17

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions