OSError: /lib64/libm.so.6: version `GLIBC_2.27' not found
See original GitHub issue📚 Installation
I have followed the instructions on the pytorch geometric website, and am repeatedly getting this error. The issues opened about this haven’t been helpful either. I simply copy and paste the installation commands and get the error. Here’s what I do
pip3 install torch torchvision torchaudio
and
pip3 install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-1.10.0+cu102.html
and when I import torch-spline-conv, I get the following
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/gpfs/home/hzaki1/celltypefromgrn/env/lib/python3.7/site-packages/torch_spline_conv/__init__.py", line 15, in <module>
torch.ops.load_library(spec.origin)
File "/gpfs/home/hzaki1/celltypefromgrn/env/lib/python3.7/site-packages/torch/_ops.py", line 110, in load_library
ctypes.CDLL(path)
File "/gpfs/runtime/opt/python/3.7.4/lib/python3.7/ctypes/__init__.py", line 364, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /gpfs/home/hzaki1/celltypefromgrn/env/lib/python3.7/site-packages/torch_spline_conv/_basis_cuda.so)
Environment
- OS: Linux
- Python version: 3.7
- PyTorch version: 1.10.0
- CUDA/cuDNN version: 10.2
- GCC version: 10.2
- How did you try to install PyTorch Geometric and its extensions (wheel, source): Via the wheel and guide on the website
- Any other relevant information:
Checklist
- I followed the installation guide.
- I cannot find my error message in the FAQ.
- I set up CUDA correctly and can compile CUDA code via
nvcc
. - I do have multiple CUDA versions on my machine.
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:24 (6 by maintainers)
Top Results From Across the Web
Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27
You need to deploy into an operation system that is compatible with your build environment. Usually, this means to use the same distribution ......
Read more >lib64/libm.so.6: version `GLIBC_2.27' not foundとなったとき
PyTorch-geometricのインストールに成功したが、モデルを実行したときに OSError: /lib64/libm.so.6: version `GLIBC_2.27' not found
Read more >OSError: /lib64/libm.so.6: version `GLIBC_2.27' not found ...
我在网上查阅,大部分人说是torch的版本问题,但是我不想要重装torch的旧版本(这可能导致更多版本冲突)。在调用pytorch geometric的包时出现这样的 ...
Read more >OSError: /lib64/libm.so.6: version `GLIBC_2.27' not ... - 知乎专栏
OSError : /lib64/libm.so.6: version `GLIBC_2.27' not found (required by xxx.so) ——升级GLIBC并解决系统错误 ... 百度一堆解决方法,经过测试,找到一个 ...
Read more >version `GLIBC_2.27' not found (required by /gcc-linaro-11.3.1 ...
/lib64/libc.so.6: version `GLIBC_2.27' not found (required by /gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
version
GLIBC_2.27' not found
->> it was also resolved bypip uninstall torch-spline-conv
For A100 cards lowering install versions was not compatible.
Same error here!