libcudart.so.10.0 ERROR
See original GitHub issueI could install it successfully, but when I tried
from torch_geometric.data import Data
,
there would be an error:
ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory
The complete error message is below:
>>> from torch_geometric.data import Data
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/bob/anaconda3/envs/torch_cu100/lib/python3.7/site-packages/torch_geometric/data/__init__.py", line 1, in <module>
from .data import Data
File "/home/bob/anaconda3/envs/torch_cu100/lib/python3.7/site-packages/torch_geometric/data/data.py", line 2, in <module>
from torch_geometric.utils import (contains_isolated_nodes,
File "/home/bob/anaconda3/envs/torch_cu100/lib/python3.7/site-packages/torch_geometric/utils/__init__.py", line 2, in <module>
from .scatter import scatter_
File "/home/bob/anaconda3/envs/torch_cu100/lib/python3.7/site-packages/torch_geometric/utils/scatter.py", line 1, in <module>
import torch_scatter
File "/home/bob/anaconda3/envs/torch_cu100/lib/python3.7/site-packages/torch_scatter/__init__.py", line 3, in <module>
from .mul import scatter_mul
File "/home/bob/anaconda3/envs/torch_cu100/lib/python3.7/site-packages/torch_scatter/mul.py", line 3, in <module>
from torch_scatter.utils.ext import get_func
File "/home/bob/anaconda3/envs/torch_cu100/lib/python3.7/site-packages/torch_scatter/utils/ext.py", line 5, in <module>
import torch_scatter.scatter_cuda
ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory
I installed CUDA-9.0 and CUDA-10.0 on my PC, and used a symlink pointing cuda package from /usr/local/cuda-10.0/
to /usr/local/cuda/
. I wondered if it may cause the error.
Issue Analytics
- State:
- Created 5 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
libcudart.so.10.0 ERROR · Issue #114 - GitHub
there would be an error: ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory.
Read more >ImportError: libcublas.so.10.0: cannot open shared object file ...
However when I am trying to import tensorflow I am getting error about libcublas.so.10.0: user:~$ python3 Python 3.6.7 (default, Oct 22 2018, 11 ......
Read more >ImportError: libcudart.so.10.0: cannot open shared object file ...
I am facing the below issue on Xavier-B? ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory. Do I need...
Read more >Libcublas.so.10: cannot open shared object file
Hello guys, Am seeking for help running the mxnet in ubuntu 20.04 with cuda 11.1 installed. I have installed the mxnet-cu101 but seems...
Read more >A Common Issue faced while training with Tensorflow GPU code
As you may have noticed in the error log, “ Could not dlopen library 'libcudart.so.10.0' “. These files are CUDA library files.
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
I have done it and my PyTorch is working all well.
Did you modify
LD_LIBRARY_PATH
to point to CUDA 10?