-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
from pytorch3d import _C problem - libcudart.so.10.1 cannot open shared object file #688
Comments
I think you have files from another PyTorch3D installation somewhere, built with 10.1, which are being found. Could they be in the global python search tree, for example? |
Yes, I'm using virtual environment. By the way, I thought that virtual environment keeps it isolated, doesn't it? Thanks for the reply |
I haven't used virtual environments for a long time. But this seems to be a library isolation issue where a pytorch3d library build from a different installation has been found. This is the kind of thing conda environments are good at getting right. Can you paste |
|
I think you've ended up with a package from PyPI (notice that your pytorch3d is 0.3.0 instead of the latest 0.4.0).
I think the no-index will force pip to download from fbaipublicfiles.com not from PyPI. (In general, I think putting pytorch3d at the end of the command is safer than before the -f.
) |
For the first command: I get:
For the second:
It has been installed but in version 0.3.0:
The same error I get when I import: I suspected in
It's still 0.3 with the same error. |
Ah, sorry. I wasn't looking closely enough. Your PyTorch version is 1.8.1. This is better - you should get an error and now do. We don't have builds yet for PyTorch 1.8.0 or 1.8.1. You need to install PyTorch3D from source. Or go back to 1.7.1. |
Indeed, It was the problem, I've changed the version to 1.7.1 and it works. Thank you very much, |
Hi,
I've installed pytorch3D with the following command:
pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py36_cu102_pyt181/download.html
I have Cuda 10.2 and pytorch version '1.8.1+cu102'
I have problem when I import:
from pytorch3d.io import load_obj
I get the error:
It seems that it's looking for libcudart.so.10.1, However, I installed it as 10.2
What might be the problem?
The text was updated successfully, but these errors were encountered: