使用pyg报错如下:
1 Traceback (most recent call last): 2 File "main.py", line 18, in <module> 3 from models.GDN import GDN 4 File "/data/run01/scz0489/GDN-SWaT-2/models/GDN.py", line 8, in <module> 5 from torch_geometric.nn import GCNConv, GATConv, EdgeConv 6 File "/HOME/scz0489/.conda/envs/py37gnn/lib/python3.7/site-packages/torch_geometric/nn/__init__.py", line 3, in <module> 7 from .sequential import Sequential 8 File "/HOME/scz0489/.conda/envs/py37gnn/lib/python3.7/site-packages/torch_geometric/nn/sequential.py", line 9, in <module> 9 from torch_geometric.nn.conv.utils.jit import class_from_module_repr 10 File "/HOME/scz0489/.conda/envs/py37gnn/lib/python3.7/site-packages/torch_geometric/nn/conv/__init__.py", line 25, in <module> 11 from .spline_conv import SplineConv 12 File "/HOME/scz0489/.conda/envs/py37gnn/lib/python3.7/site-packages/torch_geometric/nn/conv/spline_conv.py", line 16, in <module> 13 from torch_spline_conv import spline_basis, spline_weighting 14 File "/HOME/scz0489/.conda/envs/py37gnn/lib/python3.7/site-packages/torch_spline_conv/__init__.py", line 15, in <module> 15 torch.ops.load_library(spec.origin) 16 File "/HOME/scz0489/.conda/envs/py37gnn/lib/python3.7/site-packages/torch/_ops.py", line 110, in load_library 17 ctypes.CDLL(path) 18 File "/HOME/scz0489/.conda/envs/py37gnn/lib/python3.7/ctypes/__init__.py", line 364, in __init__ 19 self._handle = _dlopen(self._name, mode) 20 OSError: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /data/run01/scz0489/.conda/envs/py37gnn/lib/python3.7/site-packages/torch_spline_conv/_basis_cuda.so)
即卸载:
1 pip uninstall torch-spline-conv
标签:OSError,libm,scz0489,envs,torch,报错,py,line,conv From: https://www.cnblogs.com/vvzhang/p/16796152.html