Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: libc10_cuda.so: cannot open shared object file: No such file or directory #23

Open
YH188 opened this issue Nov 26, 2023 · 1 comment

Comments

@YH188
Copy link

YH188 commented Nov 26, 2023

How can this problem be solved?

Traceback (most recent call last):
File "smpl_registration/fit_SMPLH.py", line 17, in
from pytorch3d.loss import point_mesh_face_distance
File "/home/yin/miniconda3/envs/rvh-mesh-env/lib/python3.7/site-packages/pytorch3d/loss/init.py", line 4, in
from .chamfer import chamfer_distance
File "/home/yin/miniconda3/envs/rvh-mesh-env/lib/python3.7/site-packages/pytorch3d/loss/chamfer.py", line 7, in
from pytorch3d.ops.knn import knn_gather, knn_points
File "/home/yin/miniconda3/envs/rvh-mesh-env/lib/python3.7/site-packages/pytorch3d/ops/init.py", line 5, in
from .graph_conv import GraphConv
File "/home/yin/miniconda3/envs/rvh-mesh-env/lib/python3.7/site-packages/pytorch3d/ops/graph_conv.py", line 8, in
from pytorch3d import _C
ImportError: libc10_cuda.so: cannot open shared object file: No such file or directory

@Joon-Jung
Copy link

I solved that error by installing pytorch with CUDA support through command below on anaconda:
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.2 -c pytorch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants