Pytorch3d: Difficulty in installation

Created on 10 Mar 2020  Â·  7Comments  Â·  Source: facebookresearch/pytorch3d

Here is some error in the 2nd step of installation, which is installing prebuilt binaries for Pytorch3d. But I think my core library is correct.
image
Here is my conda list. torch version is 1.4.0
image
image
image
image
image

my python version is 3.6 and cuda 10.0 in 'nvcc -V'. I don't know what is '__cuda = 10.2' is in the following picture.
image

great-firewall question

Most helpful comment

Sorry. I missed them. Something funny is happening. It looks like torch is installed from pypi not conda - is that right? That means you don't actually have pytorch conda package.

Can you maybe try in a new repository, just installing what you need.

It is true that we don't support cuda 10.2, but I don't think that's a problem here, you have the 10.0 cudatoolkt.

All 7 comments

You don't have pytorch (or torchvision) installed in the list. That's why it's complaining.

You don't have pytorch (or torchvision) installed in the list. That's why it's complaining.

But I can see my toch and torchvision in the last picture in conda list. I can import them in this environment

Sorry. I missed them. Something funny is happening. It looks like torch is installed from pypi not conda - is that right? That means you don't actually have pytorch conda package.

Can you maybe try in a new repository, just installing what you need.

It is true that we don't support cuda 10.2, but I don't think that's a problem here, you have the 10.0 cudatoolkt.

I use pypi because of a firewall. Can I use torch 1.3 from a mirror website?

If you are happy with CPU-only for some parts of pytorch3d, you can try pip install pytorch3d in that environment.

Another possibility is building pytorch3d from source in that environment.

Thank you! I'll try these.

I solve the problem with conda install --offline for torch, torchvision and pytorch3d. It's really important to use conda and pypi is the reason of conflicts. Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

unlugi picture unlugi  Â·  3Comments

farhanrw picture farhanrw  Â·  3Comments

elcronos picture elcronos  Â·  3Comments

aluo-x picture aluo-x  Â·  3Comments

eliemichel picture eliemichel  Â·  3Comments